Skip to content

Commit

Permalink
fix cli
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDo1 committed Jan 13, 2023
1 parent 1eb51c1 commit 62afbc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metacatalog/command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ def main():
# RUN THE TOOL
#-------------------
# print version
if hasattr(args, 'version') and args.version:
if hasattr(args, 'version'):
print(VERSION)

# if development mode, do not handle errors
elif args.dev:
elif hasattr(args, 'dev'):
args.func(args)

# else, catch all errors and print to file
Expand Down

0 comments on commit 62afbc5

Please sign in to comment.