diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-23 07:20:36 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-23 07:20:36 +0300 |
commit | 7b8cc8a9f455eda41b9c7d70f4561a84fcda941e (patch) | |
tree | b9e262e9a1dbb663c3b9f704a9fe4daf54be0ce9 /vk/platform.py | |
parent | Travis: online_sessions.sh: refactoring (diff) | |
download | vk-scripts-7b8cc8a9f455eda41b9c7d70f4561a84fcda941e.tar.gz vk-scripts-7b8cc8a9f455eda41b9c7d70f4561a84fcda941e.zip |
pylint/pep8 fixes
Diffstat (limited to '')
-rw-r--r-- | vk/platform.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vk/platform.py b/vk/platform.py index 8bf23c5..5cd78b8 100644 --- a/vk/platform.py +++ b/vk/platform.py @@ -6,6 +6,7 @@ from enum import Enum import re + class Platform(Enum): MOBILE = 1 IPHONE = 2 @@ -43,6 +44,7 @@ class Platform(Enum): def get_descr_text_capitalized(self): return self._capitalize_first_letter(self.get_descr_text()) + _PLATFORM_DESCRIPTIONS = { Platform.MOBILE: '"mobile" web version (or unrecognized mobile app)', Platform.IPHONE: 'official iPhone app', |