aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-09-09 18:55:58 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-09-09 18:55:58 +0300
commitd757e4901338e9977db283dd850e811867424960 (patch)
treef67e4784d4f5b9c625e675849a169b74ce98c678
parentTravis: specify Python versions (diff)
downloadvk-scripts-d757e4901338e9977db283dd850e811867424960.tar.gz
vk-scripts-d757e4901338e9977db283dd850e811867424960.zip
fix Python 3.4 incompatibility
-rw-r--r--vk/platform.py2
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