Private
Public Access
1
0

first holoview chart

This commit is contained in:
Sander Roosendaal
2019-02-26 22:11:28 +01:00
parent 5ba0aee1dd
commit f538dc849e
13 changed files with 250 additions and 64 deletions

View File

@@ -125,7 +125,7 @@ def uploadactivity(access_token,filename,description='',
name='Rowsandall.com workout'):
data_gz = BytesIO()
with file(filename,'rb') as inF:
with open(filename,'rb') as inF:
s = inF.read()
with gzip.GzipFile(fileobj=data_gz,mode="w") as gzf:
gzf.write(s)