logging config fixed

This commit is contained in:
Serj Zavadsky committed 2018-07-16 12:50:41 +02:00
1 parent df7befa43d
commit a37cef0560
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