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

Importing into other script #94

Closed
nmrkic opened this issue Oct 22, 2019 · 2 comments
Closed

Importing into other script #94

nmrkic opened this issue Oct 22, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@nmrkic
Copy link

nmrkic commented Oct 22, 2019

Would it be a problem if you add

if __name__ == "__main__": 
     sys.exit(main())

so it does not start when you import the script into another script.
Have already forked and changed it, could do pool request if you accept it.

Regards,
Nebojsa

@ehendrix23 ehendrix23 added the enhancement New feature or request label Oct 22, 2019
@ehendrix23
Copy link
Owner

Just added in dev branch.

@nmrkic
Copy link
Author

nmrkic commented Nov 6, 2019

Thanks

@nmrkic nmrkic closed this as completed Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants