mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-27 14:01:13 +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')
|
||||
|
||||
# Check if time is within acceptable range
|
||||
if not is_time_valid(timestamp):
|
||||
if not is_time_valid(timestamp.timestamp()):
|
||||
out_date_cnt += 1
|
||||
logging.debug("Tweet outside valid time range, skipping")
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue
Block a user