Skip to content
Snippets Groups Projects
Verified Commit dc0156dc authored by David Hoese's avatar David Hoese
Browse files

Move logging basicConfig to main function

parent 052d5bf1
Branches
No related tags found
No related merge requests found
...@@ -397,6 +397,8 @@ def main(): ...@@ -397,6 +397,8 @@ def main():
) )
args = parser.parse_args() args = parser.parse_args()
logging.basicConfig(level=logging.INFO)
quality = int(args.quality) quality = int(args.quality)
if args.filenames is None: if args.filenames is None:
LOG.error("Filenames must be passed") LOG.error("Filenames must be passed")
...@@ -421,5 +423,4 @@ def main(): ...@@ -421,5 +423,4 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
logging.basicConfig(level=logging.INFO)
sys.exit(main()) sys.exit(main())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment