fix import
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
__version__ = "2.2.5"
|
__version__ = "2.3.1"
|
||||||
from .TwitchChannelPointsMiner import TwitchChannelPointsMiner # noqa: F401
|
from .TwitchChannelPointsMiner import TwitchChannelPointsMiner # noqa: F401
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import time
|
|||||||
import json
|
import json
|
||||||
import random
|
import random
|
||||||
|
|
||||||
from datetime import fromtimestamp
|
from datetime import datetime
|
||||||
from dateutil import parser
|
from dateutil import parser
|
||||||
|
|
||||||
from TwitchChannelPointsMiner.classes.EventPrediction import EventPrediction
|
from TwitchChannelPointsMiner.classes.EventPrediction import EventPrediction
|
||||||
@@ -132,9 +132,9 @@ class WebSocketsPool:
|
|||||||
message_data["timestamp"]
|
message_data["timestamp"]
|
||||||
if "timestamp" in message_data
|
if "timestamp" in message_data
|
||||||
else (
|
else (
|
||||||
fromtimestamp(message_data["server_time"]).isoformat() + "Z"
|
datetime.fromtimestamp(message_data["server_time"]).isoformat() + "Z"
|
||||||
if "server_time" in message_data
|
if "server_time" in message_data
|
||||||
else fromtimestamp(time.time()).isoformat() + "Z"
|
else datetime.fromtimestamp(time.time()).isoformat() + "Z"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -8,7 +8,7 @@ def read(fname):
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="Twitch-Channel-Points-Miner-v2",
|
name="Twitch-Channel-Points-Miner-v2",
|
||||||
version="2.2.5",
|
version="2.3.1",
|
||||||
author="Tkd-Alex (Alessandro Maggio)",
|
author="Tkd-Alex (Alessandro Maggio)",
|
||||||
author_email="alex.tkd.alex@gmail.com",
|
author_email="alex.tkd.alex@gmail.com",
|
||||||
description="A simple script that will watch a stream for you and earn the channel points.",
|
description="A simple script that will watch a stream for you and earn the channel points.",
|
||||||
|
|||||||
Reference in New Issue
Block a user