From a48f02894c6a92ecb88a899885d1449480e670bc Mon Sep 17 00:00:00 2001 From: Zilian <13718722639leo@gmail.com> Date: Wed, 17 Nov 2021 10:46:43 +0100 Subject: [PATCH] update location --- src/location.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/location.py b/src/location.py index 685c5b1..69a8b16 100644 --- a/src/location.py +++ b/src/location.py @@ -256,9 +256,9 @@ if __name__ == '__main__': arguments = parser.parse_args() if arguments.verbose: - basicConfig(filename=arguments.verbose, level=DEBUG) + basicConfig(filename=arguments.log, level=DEBUG) else: - basicConfig(filename=arguments.verbose, level=INFO) + basicConfig(filename=arguments.log, level=INFO) cal_location(arguments) -- GitLab