client: cleanup

This commit is contained in:
2021-03-21 13:10:57 +01:00
parent d8a5765fd8
commit 638576f471
5 changed files with 77 additions and 128 deletions

View File

@@ -3,7 +3,7 @@ import argparse
import logging
import sys
from client.command import Command
from client.command import AbstractCommand
def main():
@@ -18,7 +18,7 @@ def main():
logging.basicConfig(level=logging.ERROR - (10 * arguments.verbose))
logging.debug("Arguments: %s", arguments)
command = Command.create(arguments.command, arguments.URI, arguments.port)
command = AbstractCommand.create(arguments.command, arguments.URI, arguments.port)
command.execute()