Skip to content

Commit

Permalink
Modify exception to be python3 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
cornelinux committed Nov 15, 2018
1 parent bea2309 commit 5fc5322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privacyidea/lib/eventhandler/scripthandler.py
Expand Up @@ -62,7 +62,7 @@ def __init__(self, script_directory=None):
try:
self.script_directory = get_from_config("PI_SCRIPT_HANDLER_DIRECTORY",
"/etc/privacyidea/scripts")
except RuntimeError:
except RuntimeError as e:
# In case of the tests we are outside of the application context
self.script_directory = "tests/testdata/scripts"

Expand Down

0 comments on commit 5fc5322

Please sign in to comment.