fixing zip - without uploadoptions
This commit is contained in:
@@ -1470,7 +1470,7 @@ def new_workout_from_file(r, f2,
|
||||
boattype='1x',
|
||||
makeprivate=False,
|
||||
notes=''):
|
||||
message = None
|
||||
message = ""
|
||||
impeller = False
|
||||
try:
|
||||
fileformat = get_file_type(f2)
|
||||
@@ -1495,6 +1495,7 @@ def new_workout_from_file(r, f2,
|
||||
f3 = f3[6:]
|
||||
a = MessageAttachment(message=msg,document=f3)
|
||||
a.save()
|
||||
message = "Zip file was stored for offline processing"
|
||||
|
||||
return -1, message, f2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user