|
|
|
|
@ -1,4 +1,5 @@
|
|
|
|
|
import dropbox, yaml
|
|
|
|
|
import main.googleapi as gapi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def writeToHtml(data):
|
|
|
|
|
@ -16,5 +17,10 @@ def writeToHtml(data):
|
|
|
|
|
f.seek(0) # rewrite into the file
|
|
|
|
|
for line in lines:
|
|
|
|
|
f.write(line)
|
|
|
|
|
with open('COMBO_MO_MOBIL.htm', 'rb') as f:
|
|
|
|
|
dbx.files_upload(f.read(), "/COMBO_MO_MOBIL.htm", mode=dropbox.files.WriteMode("overwrite"))
|
|
|
|
|
|
|
|
|
|
# Dropbox Link
|
|
|
|
|
# with open('COMBO_MO_MOBIL.htm', 'rb') as f:
|
|
|
|
|
# dbx.files_upload(f.read(), "/COMBO_MO_MOBIL.htm", mode=dropbox.files.WriteMode("overwrite"))
|
|
|
|
|
|
|
|
|
|
# Google Drive Link
|
|
|
|
|
gapi.upload_basic()
|