Clarify comment
This commit is contained in:
parent
c7f7f25af0
commit
8b644ee236
@ -224,7 +224,7 @@ def update_db(session):
|
|||||||
|
|
||||||
for path in list(os_paths - db_paths):
|
for path in list(os_paths - db_paths):
|
||||||
DEBUG(f"utilities.update_db: {path=} not in database")
|
DEBUG(f"utilities.update_db: {path=} not in database")
|
||||||
# is filename in database?
|
# is filename in database with a different path?
|
||||||
track = Tracks.get_by_filename(session, os.path.basename(path))
|
track = Tracks.get_by_filename(session, os.path.basename(path))
|
||||||
if not track:
|
if not track:
|
||||||
messages.append(f"{path} missing from database: {path}")
|
messages.append(f"{path} missing from database: {path}")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user