Skip to content

Commit

Permalink
Merge pull request #201 from VForWaTer/fix_cli
Browse files Browse the repository at this point in the history
Fix CLI
  • Loading branch information
AlexDo1 authored Jan 13, 2023
2 parents 1eb51c1 + 8868dca commit 93e6501
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metacatalog/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.6.3'
__version__ = '0.6.4'
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 93e6501

Please sign in to comment.