bigfix
This commit is contained in:
@@ -83,7 +83,7 @@ def scrape_and_log(url: str) -> None:
|
||||
print(f"A log already exists for {latest_log} or later. Skipping new log.")
|
||||
return
|
||||
|
||||
if last_seen_time.hour == latest_log.hour:
|
||||
if latest_log and last_seen_time.hour == latest_log.hour:
|
||||
print(f"An entry for this hour already exists. Skipping new log.")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user