summaryrefslogtreecommitdiff
path: root/pywhoisd_dataloader.py
diff options
context:
space:
mode:
Diffstat (limited to 'pywhoisd_dataloader.py')
-rwxr-xr-xpywhoisd_dataloader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pywhoisd_dataloader.py b/pywhoisd_dataloader.py
index 7b80ef5..e67c853 100755
--- a/pywhoisd_dataloader.py
+++ b/pywhoisd_dataloader.py
@@ -10,7 +10,7 @@ from lib.exceptions import CmdNotFoundException, CommandException
class Manager:
def __init__(self):
self.loader = None
- self.completer = CompletionManager()
+ self.completer = CompletionManager(cmd_manager, self.loader)
def start(self):
try:
@@ -34,7 +34,7 @@ class Manager:
output_manager.normal('Usage: {0}'.format(cmd.usage(line[0]))).line_break()
except CmdNotFoundException as err:
- output_manager.error('Error: {0}'.format(str(err))).linebreak()
+ output_manager.error('Error: {0}'.format(str(err))).line_break()
except EOFError:
output_manager.line_break()
@@ -44,8 +44,8 @@ class Manager:
if __name__ == '__main__':
try:
- manager = Manager()
cmd_manager = CommandManager()
+ manager = Manager()
output_manager = OutputManager()
manager.start()
nihil fit ex nihilo