aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-03-03 15:15:11 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-03-03 15:15:11 +0300
commit529c09816d335440b842e6406c693e25492f1dba (patch)
tree4bdb9968e24f7bd657f9566ce07534ab849ed51b
parentno more user.screen_name (diff)
downloadvk-scripts-529c09816d335440b842e6406c693e25492f1dba.tar.gz
vk-scripts-529c09816d335440b842e6406c693e25492f1dba.zip
new platform, "VK Mobile"
-rw-r--r--vk/platform.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/vk/platform.py b/vk/platform.py
index fa1e665..7aebd9b 100644
--- a/vk/platform.py
+++ b/vk/platform.py
@@ -14,6 +14,7 @@ class Platform(Enum):
WINDOWS_PHONE = 5
WINDOWS8 = 6
WEB = 7
+ VK_MOBILE = 8
@staticmethod
def from_string(s):
@@ -47,5 +48,6 @@ _PLATFORM_DESCRIPTIONS = {
Platform.ANDROID: 'official Android app',
Platform.WINDOWS_PHONE: 'official Windows Phone app',
Platform.WINDOWS8: 'official Windows 8 app',
- Platform.WEB: 'web version (or unrecognized app)'
+ Platform.WEB: 'web version (or unrecognized app)',
+ Platform.VK_MOBILE: 'VK Mobile',
}