Skip to content

Commit

Permalink
fixed issues in the main.py function for the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
asampat3090 committed Jun 9, 2018
1 parent 0b4ee24 commit b3a3d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datmo/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main():
# This is required for logging to place the logs in a
# place for the user.
config = Config()
config.home = os.getcwd()
config.set_home(os.getcwd())

log = DatmoLogger.get_logger(__name__)
log.info("handling command %s", config.home)
Expand Down Expand Up @@ -53,7 +53,7 @@ def main():

# instantiate the command class
try:
command_instance = command_class(os.getcwd(), cli_helper)
command_instance = command_class(cli_helper)
except TypeError as ex:
cli_helper.echo(__("error", "cli.general", str(ex)))
return 1
Expand Down

0 comments on commit b3a3d6c

Please sign in to comment.