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