Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.

Commit

Permalink
Erroneous check if True
Browse files Browse the repository at this point in the history
Originally checked for True as a string rather than a bool meaning that it would always default to running in non paranoid mode.
  • Loading branch information
errbufferoverfl authored Oct 9, 2017
1 parent 86b349a commit bb23552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usbcanary.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def run(self):
def main(self):
options = settings.open_settings()['settings']['general']

if settings.check_paranoid_setting(options['paranoid']) == 'True':
if settings.check_paranoid_setting(options['paranoid']) is True:
paranoid_enabled = True
else:
paranoid_enabled = False
Expand Down

0 comments on commit bb23552

Please sign in to comment.