👷🏻‍♀️ make sources something to configure

This commit is contained in:
neingeist 2021-12-06 23:31:08 +01:00
parent 40e1f51faf
commit 1d173aa45a
2 changed files with 15 additions and 13 deletions

View file

@ -87,8 +87,7 @@ def prepare_download(form):
"""Prepare a download given the user's request form"""
# Get a sorted list of all source files with start time and length
sources = sorted(Config.SOURCES, key=lambda s: s['start_time'])
print(sources)
sources = sorted(Config.SOURCES(), key=lambda s: s['start_time'])
# Only interested in the source files from the start file
start_index = None