logging config fixed

This commit is contained in:
Serj Zavadsky authored and David Wobrock committed 2018-07-19 22:01:12 +02:00
1 parent 10d36bbab2
commit bfb32ba312
1 file changed
+2 -2
+2 -2
View File
@@ -267,9 +267,9 @@ def _main():
args = parser.parse_args()
if args.verbose:
log.basicConfig(format='%(message)s', level=log.DEBUG)
logging.basicConfig(format='%(message)s', level=logging.DEBUG)
else:
log.basicConfig(format='%(message)s')
logging.basicConfig(format='%(message)s')
folder_name = args.django_folder[0]
# Create and use linter