Switch to toml

This commit is contained in:
dadav
2019-12-18 18:58:28 +01:00
parent 9457622713
commit 6075296884
12 changed files with 252 additions and 340 deletions

View File

@ -28,7 +28,7 @@ class OnlineHashCrack(plugins.Plugin):
"""
Gets called when the plugin gets loaded
"""
if 'email' not in self.options or ('email' in self.options and self.options['email'] is None):
if 'email' not in self.options or ('email' in self.options and not self.options['email']):
logging.error("OHC: Email isn't set. Can't upload to onlinehashcrack.com")
return