Skip to content

Commit 04b96d2

Browse files
authored
Merge pull request #128 from ParadoxGuitarist/bugfix-logging-flags
Fix Logging Levels
2 parents 3375095 + d9e9fcd commit 04b96d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jamf2snipe

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
# _snipeit_custom_name_1234567890 = subset jamf_key
3131
#
3232
# A list of valid subsets are:
33-
version = "1.0.5"
33+
version = "1.0.6"
3434

3535
validsubset = [
3636
"general",
@@ -84,10 +84,10 @@ if user_args.version:
8484
raise SystemExit
8585

8686
# Notify users they're going to get a wall of text in verbose mode.
87-
if user_args.verbose:
88-
logging.basicConfig(level=logging.INFO)
89-
elif user_args.debug:
87+
if user_args.debug:
9088
logging.basicConfig(level=logging.DEBUG)
89+
elif user_args.verbose:
90+
logging.basicConfig(level=logging.INFO)
9191
else:
9292
logging.basicConfig(level=logging.WARNING)
9393

0 commit comments

Comments
 (0)