Private
Public Access
1
0

Merge branch 'hotfix/v9.45' into develop

This commit is contained in:
Sander Roosendaal
2019-03-10 16:37:31 +01:00
2 changed files with 1 additions and 1 deletions

View File

@@ -422,7 +422,7 @@ def createstravaworkoutdata(w,dozip=True):
row.exporttotcx(tcxfilename,notes=newnotes)
if dozip:
gzfilename = tcxfilename+'.gz'
with file(tcxfilename,'rb') as inF:
with open(tcxfilename,'rb') as inF:
s = inF.read()
with gzip.GzipFile(gzfilename,'wb') as outF:
outF.write(s)

Binary file not shown.