Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2016-12-08 23:07:57 +01:00
parent a37bb03fd8
commit 8895f61e73
4 changed files with 46 additions and 28 deletions

View File

@@ -1,4 +1,7 @@
import time
import gzip
import shutil
from django.core.exceptions import ValidationError
def format_pace_tick(x,pos=None):
@@ -65,7 +68,7 @@ def handle_uploaded_file(f):
with open(fname2,'wb+') as destination:
for chunk in f.chunks():
destination.write(chunk)
return fname,fname2
# this might work on windows