first holoview chart
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user