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

Make import Server in nut.py conditional #364

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 18, 2021

  1. Make import Server conditional

    Move `import Server` into `if args.server:` code block so it doesn't get imported when it's not used (i.e. on `python nut.py --decompress <filename>`) and doesn't throw an exception on pycurl-less systems (i.e. Windows as per `requirements.txt`, line 20).
    Minimal testing done:
    before change `--decompress` throws an exception;
    after change `--decompress` works, `-S` throws an exception.
    ii0606226 authored Oct 18, 2021
    Configuration menu
    Copy the full SHA
    5013932 View commit details
    Browse the repository at this point in the history