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

Sys package called before import #29

Closed
EmersonYe opened this issue Aug 2, 2018 · 1 comment
Closed

Sys package called before import #29

EmersonYe opened this issue Aug 2, 2018 · 1 comment

Comments

@EmersonYe
Copy link
Contributor

sys.exit(1) is called without importing the sys package when exiting due to not finding Dolphin home directory.

sys.exit(1)

NameError: name 'sys' is not defined exception is thrown instead of a graceful exit when the line is called.

@EmersonYe
Copy link
Contributor Author

EmersonYe commented Aug 2, 2018

PR to import sys before sys.exit(1)created here: #30.

@altf4 altf4 closed this as completed Sep 9, 2018
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

2 participants