Skip to content

Commit 583e08e

Browse files
committed
Update to Oauth2 II
1 parent 583d034 commit 583e08e

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.env
22
files/*
33
.idea/
4-
dropbox_token.json
4+
dropbox_token.json
5+
venv/
File renamed without changes.

dropbox_upload.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@
66
from os.path import join
77

88
import dropbox
9-
from dotenv import load_dotenv, dotenv_values
109
from dropbox.exceptions import ApiError
1110
from dropbox.files import WriteMode
1211

13-
load_dotenv()
14-
config = dotenv_values(".env")
15-
1612

1713
# Uploads contents of LOCALFILE to Dropbox
1814
def backup(folder, filename, delete_file=False):

0 commit comments

Comments
 (0)