From 80f8ffde728c82cd5d2a3eaf509be24dbd68b45f Mon Sep 17 00:00:00 2001 From: Zilian <13718722639leo@gmail.com> Date: Tue, 16 Nov 2021 19:27:47 +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 864ca95..f617eb3 100644 --- a/src/location.py +++ b/src/location.py @@ -255,9 +255,9 @@ if __name__ == '__main__': parser.add_argument('-v', '--verbose', action='store_true', help='Verbose mode') arguments = parser.parse_args() if arguments.verbose: - basicConfig(filename=arguments.log, level=DEBUG) + basicConfig(filename=arguments.verbose, level=DEBUG) else: - basicConfig(filename=arguments.log, level=INFO) + basicConfig(filename=arguments.verbose, level=INFO) cal_location(arguments) -- GitLab