Compare commits

..

2 Commits
0.9 ... 0.11

Author SHA1 Message Date
Paweł Kierski
43556a0470 SDK-2586 Return "None" instead of "Unknown" state for local game for Origin 2019-03-01 14:10:48 +01:00
Romuald Bierbasz
e244d3bb44 SDK-2577: Add UnknownBackendResponse 2019-02-28 15:20:03 +01:00
3 changed files with 6 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ class LicenseType(Enum):
OtherUserLicense = "OtherUserLicense"
class LocalGameState(Enum):
Unknown = "Unknown"
None_ = "None"
Installed = "Installed"
Running = "Running"

View File

@@ -20,6 +20,10 @@ class BackendError(ApplicationError):
def __init__(self, data=None):
super().__init__(4, "Backend error", data)
class UnknownBackendResponse(ApplicationError):
def __init__(self, data=None):
super().__init__(4, "Backend responded in uknown way", data)
class InvalidCredentials(ApplicationError):
def __init__(self, data=None):
super().__init__(100, "Invalid credentials", data)

View File

@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name="galaxy.plugin.api",
version="0.9",
version="0.11",
description="Galaxy python plugin API",
author='Galaxy team',
author_email='galaxy@gog.com',