Logging loguru output tweaks (#2112)

This commit is contained in:
dgtlmoon
2024-01-16 11:27:47 +01:00
committed by GitHub
parent 4be0fafa93
commit 399cdf0fbf
5 changed files with 16 additions and 13 deletions

View File

@@ -211,7 +211,7 @@ class model(dict):
# Read the history file as a dict
fname = os.path.join(self.watch_data_dir, "history.txt")
if os.path.isfile(fname):
logger.debug("Reading watch history index")
logger.debug(f"Reading watch history index for {self.get('uuid')}")
with open(fname, "r") as f:
for i in f.readlines():
if ',' in i: