Skip to content

Commit

Permalink
dev7
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Apr 12, 2024
1 parent 3e8884b commit d8faf40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/sml2mqtt/__log__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def __init__(self, *args, **kwargs):
self.last_check: date = datetime.now().date()

def shouldRollover(self, record) -> int:
if (date := datetime.now().date()) == self.last_check:
if (date_now := datetime.now().date()) == self.last_check:
return 0
self.last_check = date
self.last_check = date_now
return super().shouldRollover(record)


Expand Down
2 changes: 1 addition & 1 deletion src/sml2mqtt/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.0.DEV-6'
__version__ = '3.0.DEV-7'

0 comments on commit d8faf40

Please sign in to comment.