Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when username contains space #22

Open
benmack opened this issue Mar 30, 2016 · 0 comments
Open

Error when username contains space #22

benmack opened this issue Mar 30, 2016 · 0 comments

Comments

@benmack
Copy link

benmack commented Mar 30, 2016

First of all, thanks for the Work!
I got the

"error with usgs password file"

and found out that the code does not like my username with a space.
I solved it by replacing line 333:

(account,passwd)=f.readline().split(' ')

with

dummy=f.readline().split(' ')
passwd=dummy[-1]
account=' '.join(dummy[:-1])
del dummy

Maybe you want to include the change.

Regards, Ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant