mirror of
https://github.com/KevinMidboe/knowit_julekalender-2018.git
synced 2025-12-07 20:08:45 +00:00
New year, new round of knowit julekalender. Starting this year off a bit late, but lets see how many I can complete 🎉🎅
This commit is contained in:
4
badge.py
4
badge.py
@@ -49,7 +49,7 @@ def getColor(value):
|
||||
|
||||
def uploadToDropbox(path):
|
||||
dbx = dropbox.Dropbox(os.environ.get('DROPBOX_ACCESS_TOKEN'))
|
||||
response = dbx.files_upload(getPicture(path), '/knowit/' + path, mode=WriteMode('overwrite', None))
|
||||
response = dbx.files_upload(getPicture(path), '/knowit-18/' + path, mode=WriteMode('overwrite', None))
|
||||
|
||||
def main():
|
||||
failures, total = get_xml_test_results()
|
||||
@@ -64,4 +64,4 @@ def main():
|
||||
uploadToDropbox(image2)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user