diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-09 18:55:58 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-09-09 18:55:58 +0300 |
commit | d757e4901338e9977db283dd850e811867424960 (patch) | |
tree | f67e4784d4f5b9c625e675849a169b74ce98c678 | |
parent | Travis: specify Python versions (diff) | |
download | vk-scripts-d757e4901338e9977db283dd850e811867424960.tar.gz vk-scripts-d757e4901338e9977db283dd850e811867424960.zip |
fix Python 3.4 incompatibility
-rw-r--r-- | vk/platform.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |