summaryrefslogtreecommitdiff
path: root/src/pyssg/database.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyssg/database.py')
-rw-r--r--src/pyssg/database.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyssg/database.py b/src/pyssg/database.py
index 40065ef..5d7d71d 100644
--- a/src/pyssg/database.py
+++ b/src/pyssg/database.py
@@ -36,7 +36,7 @@ class Database:
sys.exit(1)
def update(self, file_name: str,
- remove: str='') -> None:
+ remove: str = '') -> None:
log.debug('updating entry for file "%s"', file_name)
f: str = file_name
tags: list[str] = []
@@ -55,7 +55,7 @@ class Database:
# three cases, 1) entry didn't exist,
# 2) entry has been mod and,
# 3) entry hasn't been mod
- #1)
+ # 1)
if f not in self.e:
log.debug('entry "%s" didn\'t exist, adding with defaults', f)
self.e[f] = DatabaseEntry([f, time, 0.0, checksum, tags])