Fix --debug when no command is given

This commit is contained in:
Ivan Habunek 2022-02-27 12:23:22 +01:00
parent 5ae4396ab4
commit f663525d07
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95

View File

@ -253,7 +253,7 @@ def main():
parser = get_parser()
args = parser.parse_args()
if args.debug:
if "--debug" in sys.argv:
logging.basicConfig(level=logging.DEBUG)
if args.version: