Compare commits
2 Commits
36af2023de
...
2c6b856f66
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c6b856f66 | |||
| 0050374ed0 |
@ -119,6 +119,7 @@ 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):
|
||||
@ -141,7 +142,6 @@ 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