-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
10 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "Galaxy Wargaming plugin", | ||
"platform": "wargaming", | ||
"guid": "91728e8a-33c3-4b6d-8382-4dd31043dec1", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"description": "Galaxy Wargaming plugin", | ||
"author": "Mikhail Paulyshka", | ||
"email": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import asyncio | ||
import json | ||
import logging | ||
import os | ||
import sys | ||
|
@@ -9,13 +10,16 @@ | |
if thirdparty not in sys.path: | ||
sys.path.insert(0, thirdparty) | ||
|
||
from version import __version__ | ||
#read manifest | ||
menifest = None | ||
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "manifest.json")) as manifest: | ||
manifest = json.load(manifest) | ||
|
||
#Start sentry | ||
import sentry_sdk | ||
sentry_sdk.init( | ||
"https://[email protected]/2", | ||
release=("galaxy-integration-wargaming@%s" % __version__)) | ||
release=("galaxy-integration-wargaming@%s" % manifest['version'])) | ||
|
||
from galaxy.api.consts import Platform | ||
from galaxy.api.errors import BackendError, InvalidCredentials | ||
|
@@ -28,7 +32,7 @@ | |
|
||
class WargamingPlugin(Plugin): | ||
def __init__(self, reader, writer, token): | ||
super().__init__(Platform.Wargaming, __version__, reader, writer, token) | ||
super().__init__(Platform(manifest['platform']), manifest['version'], reader, writer, token) | ||
|
||
self._wgc = WGC() | ||
self._xmpp = dict() | ||
|
This file was deleted.
Oops, something went wrong.