aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/user.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vk/user.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/vk/user.py b/vk/user.py
index 6261683..c3c997b 100644
--- a/vk/user.py
+++ b/vk/user.py
@@ -98,8 +98,7 @@ class User(Hashable, MutableMapping):
def parse(field, value):
if field in User._FIELD_PARSERS:
return User._FIELD_PARSERS[field](value)
- else:
- return User._DEFAULT_FIELD_PARSER(value)
+ return User._DEFAULT_FIELD_PARSER(value)
_FIELD_PARSERS = {
UserField.UID: int,