Skip to content

Commit

Permalink
Remove credential prints in cooksillustrated plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cydanil committed Jul 6, 2021
1 parent 14e8740 commit 0d3be90
Showing 1 changed file with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,17 @@ def __init__ (self, url):
def do_run (self):
self.read()

def get_username_and_pw (self):
print('Let us get a password...')
def get_username_and_pw(self):
pw = ''
username = self.prefs.get('cooksillustrated-username','')
print('Username=',username)
if username:
pw = keyring.get_password(
'http://www.cooksillustrated.com',
username
)
else:
pw = ''
print('Initial password: ',pw)
print('Launch dialog...')
#
username, pw = de.getUsernameAndPassword(
username=username,
pw=pw
)
username, pw = de.getUsernameAndPassword(username=username,
pw=pw)
# broken :( - temporary workaround?
#username,pw = 'USERNAME','PASSWORD'
print('Done with dialog')
Expand Down

0 comments on commit 0d3be90

Please sign in to comment.