From d757e4901338e9977db283dd850e811867424960 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 9 Sep 2019 18:55:58 +0300 Subject: fix Python 3.4 incompatibility --- vk/platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vk/platform.py b/vk/platform.py index cd2c8d5..8bf23c5 100644 --- a/vk/platform.py +++ b/vk/platform.py @@ -35,7 +35,7 @@ class Platform(Enum): def get_descr_text(self): s = _PLATFORM_DESCRIPTIONS[self] - if self == self.VK_MOBILE: + if self == Platform.VK_MOBILE: return s s = s.replace('unrecognized', 'an unrecognized') return 'the ' + s -- cgit v1.2.3