diff --git a/lib/term/terminal.py b/lib/term/terminal.py index 5287e5d..b3c5e40 100644 --- a/lib/term/terminal.py +++ b/lib/term/terminal.py @@ -19,8 +19,9 @@ def __init__(self, tokens): self.tokens = tokens self.usage_path = lib.settings.USAGE_AND_LEGAL_PATH self.sep = "-" * 30 + self.host_path = lib.settings.HOST_FILE try: - self.host_path = open(lib.settings.HOST_FILE).readlines() + open(lib.settings.HOST_FILE).readlines() except IOError: lib.output.warning("no hosts file present, you need to gather some hosts") self.host_path = lib.settings.HOST_FILE