Compare commits
No commits in common. "2c6b856f66f718dc51e4cb737c1d84e65e9e95f7" and "36af2023de631f5e0fcdbc82064f0af4eb69b323" have entirely different histories.
2c6b856f66
...
36af2023de
@ -119,7 +119,6 @@ def updatefileindex():
|
||||
scanned_files = [] # Each entry: (relative_path, basefolder, filename, filetype, transcript, hitcount)
|
||||
current_keys = set()
|
||||
for entry in scan_dir(norm_folderpath):
|
||||
transcript = None
|
||||
entry_path = os.path.normpath(entry.path)
|
||||
# Get relative part by slicing if possible.
|
||||
if entry_path.startswith(norm_folderpath):
|
||||
@ -142,6 +141,7 @@ def updatefileindex():
|
||||
site = 'Schwegenheim'
|
||||
|
||||
if filetype == '.mp3':
|
||||
transcript = None
|
||||
|
||||
# Check for a corresponding transcript file in a sibling "Transkription" folder.
|
||||
parent_dir = os.path.dirname(entry_path)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user