Skip to content

Commit

Permalink
Strip whitespaces from inputs during setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykos153 committed Jun 5, 2020
1 parent dd3532c commit b6399bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git_annex_remote_googledrive/run.py
Expand Up @@ -63,8 +63,8 @@ def setup():
use_own_api = False

if use_own_api:
client_id = input("Client ID: ")
client_secret = input("Client Secret: ")
client_id = input("Client ID: ").strip()
client_secret = input("Client Secret: ").strip()
else:
print("======")
print("IMPORTANT: Google has started to lockdown their Google Drive API. This might affect access to your remotes.")
Expand Down

0 comments on commit b6399bb

Please sign in to comment.