gpx
This commit is contained in:
@@ -66,7 +66,7 @@ def validate_image_extension(value):
|
||||
def validate_file_extension(value):
|
||||
import os
|
||||
ext = os.path.splitext(value.name)[1]
|
||||
valid_extensions = ['.tcx','.csv','.TCX',
|
||||
valid_extensions = ['.tcx','.csv','.TCX','.gpx','.GPX',
|
||||
'.CSV','.fit','.FIT','.zip','.ZIP',
|
||||
'.gz','.GZ','.xls']
|
||||
if not ext in valid_extensions:
|
||||
|
||||
Reference in New Issue
Block a user