File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ def get_or_set_token(production=True):
7171 with open (token_file , "rb" ) as f :
7272 encrypted_token = f .read ()
7373 token = decrypt_token (encrypted_token , key )
74+ print (
75+ "Using saved CaltechDATA production token."
76+ if production
77+ else "Using saved CaltechDATA test token."
78+ )
7479 return token
7580 except FileNotFoundError :
7681 while True :
@@ -422,8 +427,6 @@ def main():
422427
423428def create_record (production ):
424429 token = get_or_set_token (production )
425- # keep_file = input("Do you want to keep your existing files? (yes/no): ").lower() == "yes"
426- print ("Using CaltechDATA token:" , token )
427430 while True :
428431 choice = get_user_input (
429432 "Do you want to use metadata from an existing file or create new metadata? (existing/create): "
You can’t perform that action at this time.
0 commit comments