mirror of
https://github.com/rr-/pq-cli.git
synced 2026-09-29 06:44:00 -06:00
misc: improve mypy health
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ class Roster:
|
||||
self.path.rename(old_path)
|
||||
tmp_path.rename(self.path)
|
||||
|
||||
def save_periodically(self):
|
||||
def save_periodically(self) -> None:
|
||||
if (datetime.now() - self._last_save).total_seconds() >= 300:
|
||||
logging.info("Saving...")
|
||||
self.save()
|
||||
|
||||
Reference in New Issue
Block a user