diff options
author | John Smith <mrdoctorwho@gmail.com> | 2017-04-02 12:48:38 +0300 |
---|---|---|
committer | John Smith <mrdoctorwho@gmail.com> | 2017-04-02 12:49:25 +0300 |
commit | e31d675843354a01079ac42fa051f9f571891f3c (patch) | |
tree | 72d52ab8f625af446a3535da939042a3fa2952fe /modules | |
parent | f6bf2b50a9391b685b9e59d4996ba72565923a6e (diff) |
#178 fix for undefined exception
Signed-off-by: John Smith <mrdoctorwho@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mod_prs_main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_prs_main.py b/modules/mod_prs_main.py index 858f4e6..027aef9 100644 --- a/modules/mod_prs_main.py +++ b/modules/mod_prs_main.py @@ -23,7 +23,7 @@ def initializeUser(source, resource, prs): except RuntimeError: pass except Exception as e: - if not isinstance(e, TokenError): + if not isinstance(e, api.TokenError): report(crashLog("user.connect")) sendMessage(source, TransportID, _("Auth failed! If this error repeated, " |