Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #32 from Ape/pr/optional_curses
Browse files Browse the repository at this point in the history
Import curses only on interactive mode
  • Loading branch information
Ape authored Mar 10, 2017
2 parents 20c7040 + f90b38a commit 9f9f53e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samsungctl/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from . import __doc__ as doc
from . import __title__ as title
from . import __version__ as version
from . import interactive
from . import exceptions
from . import Remote

Expand Down Expand Up @@ -104,6 +103,7 @@ def main():

if args.interactive:
logging.getLogger().setLevel(logging.ERROR)
from . import interactive
interactive.run(remote)
elif len(args.key) == 0:
logging.warning("Warning: No keys specified.")
Expand Down

0 comments on commit 9f9f53e

Please sign in to comment.