API - fix broken test
This commit is contained in:
@@ -285,7 +285,7 @@ def process_zip_archive(common_params, extract_dir):
|
|||||||
zip_ref.extractall(extract_dir)
|
zip_ref.extractall(extract_dir)
|
||||||
|
|
||||||
new_activities = []
|
new_activities = []
|
||||||
gpx_files_limit = os.getenv('REACT_APP_GPX_LIMIT_IMPORT', 10)
|
gpx_files_limit = os.getenv('REACT_APP_GPX_LIMIT_IMPORT', '10')
|
||||||
if gpx_files_limit and gpx_files_limit.isdigit():
|
if gpx_files_limit and gpx_files_limit.isdigit():
|
||||||
gpx_files_limit = int(gpx_files_limit)
|
gpx_files_limit = int(gpx_files_limit)
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user