aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/last_seen.py
diff options
context:
space:
mode:
Diffstat (limited to 'vk/last_seen.py')
-rw-r--r--vk/last_seen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vk/last_seen.py b/vk/last_seen.py
index cf76db5..2bd48dc 100644
--- a/vk/last_seen.py
+++ b/vk/last_seen.py
@@ -23,7 +23,7 @@ def _parse_time(x):
def _parse_platform(x):
- if x in Platform:
+ if isinstance(x, Platform):
return x
if isinstance(x, str):
return Platform.from_string(x)