mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-12-18 00:00:17 +00:00
Corrected one more float bug
This commit is contained in:
parent
93f8e493db
commit
f1b7247b3d
2
twoot.py
2
twoot.py
|
@ -893,7 +893,7 @@ def main(argv):
|
||||||
timestamp = datetime.strptime(time_string, '%b %d, %Y · %I:%M %p %Z')
|
timestamp = datetime.strptime(time_string, '%b %d, %Y · %I:%M %p %Z')
|
||||||
|
|
||||||
# Check if time is within acceptable range
|
# Check if time is within acceptable range
|
||||||
if not is_time_valid(timestamp):
|
if not is_time_valid(timestamp.timestamp()):
|
||||||
out_date_cnt += 1
|
out_date_cnt += 1
|
||||||
logging.debug("Tweet outside valid time range, skipping")
|
logging.debug("Tweet outside valid time range, skipping")
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue
Block a user