Code style fix

This commit is contained in:
Sean Whalen
2022-06-20 10:22:25 -04:00
parent ae8c587aed
commit 5ab649cf8c
+2 -2
View File
@@ -734,8 +734,8 @@ def _main():
logger.setLevel(logging.DEBUG)
if opts.log_file:
try:
with open(opts.log_file, "w") as log_file:
pass
log_file = open(opts.log_file, "w")
log_file.close()
fh = logging.FileHandler(opts.log_file)
formatter = logging.Formatter(
'%(asctime)s - '