From 62afbc53eee574ba8f03bc02aa9866badf28c4d1 Mon Sep 17 00:00:00 2001 From: AlexDo1 Date: Fri, 13 Jan 2023 14:57:38 +0100 Subject: [PATCH 1/2] fix cli --- metacatalog/command_line.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metacatalog/command_line.py b/metacatalog/command_line.py index 02d1bebd..85ac18d9 100644 --- a/metacatalog/command_line.py +++ b/metacatalog/command_line.py @@ -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 From 8868dca48f73c43eb174f761a532237dc05db431 Mon Sep 17 00:00:00 2001 From: AlexDo1 Date: Fri, 13 Jan 2023 14:57:57 +0100 Subject: [PATCH 2/2] v0.6.4 --- metacatalog/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metacatalog/__version__.py b/metacatalog/__version__.py index a68d2bd0..02f8497c 100644 --- a/metacatalog/__version__.py +++ b/metacatalog/__version__.py @@ -1 +1 @@ -__version__ = '0.6.3' +__version__ = '0.6.4'