aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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