Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Smith <mrdoctorwho@gmail.com>2017-04-02 12:48:38 +0300
committerJohn Smith <mrdoctorwho@gmail.com>2017-04-02 12:49:25 +0300
commite31d675843354a01079ac42fa051f9f571891f3c (patch)
tree72d52ab8f625af446a3535da939042a3fa2952fe
parentf6bf2b50a9391b685b9e59d4996ba72565923a6e (diff)
#178 fix for undefined exception
Signed-off-by: John Smith <mrdoctorwho@gmail.com>
-rw-r--r--modules/mod_prs_main.py2
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, "