Skip to content

Commit

Permalink
Address linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ducalex committed Jul 2, 2024
1 parent c2843c1 commit 92cbebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nova3/engines/torlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def handle_endtag(self, tag):
date = datetime.now() - timedelta(days=1)
else:
date = datetime.strptime(self.current_item["pub_date"], '%m/%d/%Y')
date = date.replace(hour=0, minute=0, second=0, microsecond=0) # We have no time info
date = date.replace(hour=0, minute=0, second=0, microsecond=0) # No time info
self.current_item["pub_date"] = int(date.timestamp())
except:
except Exception:
self.current_item["pub_date"] = -1
prettyPrinter(self.current_item)
self.current_item = {}
Expand Down

0 comments on commit 92cbebc

Please sign in to comment.