Skip to content

Commit eb9bd47

Browse files
committed
Resolves #42
Forgot to set the `no_check` variable before the call to `main` if the user doesn’t use either `—no-check-bin` or `—no-check-app`. Oops.
1 parent 98aa71e commit eb9bd47

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

privacy_services_management/universal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
attributes = {
66
'long_name': "Privacy Services Manager",
77
'name': "privacy_services_manager",
8-
'version': "1.7.0",
8+
'version': "1.7.1",
99
}
1010

1111
# This is a list of services which can be modified.

privacy_services_manager.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,15 @@ def error(self, message):
240240
if args.no_check_app and args.no_check_bin:
241241
parser.error("Cannot give both --no-check-app and --no-check-bin.")
242242

243-
no_check_type = None
244243
if args.no_check_app:
245244
no_check = True
246245
no_check_type = 'app'
247-
if args.no_check_bin:
246+
elif args.no_check_bin:
248247
no_check = True
249248
no_check_type = 'bin'
249+
else:
250+
no_check = False
251+
no_check_type = None
250252

251253
# Output some information.
252254
output = (

0 commit comments

Comments
 (0)