Skip to content

Commit

Permalink
Fix bug in setup when using build-in API
Browse files Browse the repository at this point in the history
Bug was introduced in 6b3a709
  • Loading branch information
Lykos153 committed Jun 5, 2020
1 parent b6399bb commit 9960d86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions git_annex_remote_googledrive/run.py
Expand Up @@ -20,8 +20,8 @@
from drivelib import GoogleDrive
from .google_remote import GoogleRemote
from . import __version__
from . import _default_client_id as client_id
from . import _default_client_secret as client_secret
from . import _default_client_id as DEFAULT_CLIENT_ID
from . import _default_client_secret as DEFAULT_CLIENT_SECRET

class bcolors:
HEADER = '\033[95m'
Expand Down Expand Up @@ -71,6 +71,8 @@ def setup():
print("Until this is settled you'll see a warning about this application not being verified by Google which you need to accept in order to proceed.")
print("Read more on https://github.com/Lykos153/git-annex-remote-googledrive#google-drive-api-lockdown")
print("======")
client_id = DEFAULT_CLIENT_ID
client_secret = DEFAULT_CLIENT_SECRET


gauth = {
Expand Down

0 comments on commit 9960d86

Please sign in to comment.