Skip to content

Commit

Permalink
version 0.51
Browse files Browse the repository at this point in the history
  • Loading branch information
FriendsOfGalaxy committed Nov 21, 2019
1 parent b387edf commit 9d35793
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ venv
.idea
Pipfile
# everyone has its own dev.txt to keep own dependencies
requirements/dev.txt
requirements/dev.txt
19 changes: 10 additions & 9 deletions src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,16 @@ def _parse_local_games(self):
A game in the games_collection which doesn't have a launch id probably
means that a game was added through the get_club_titles request but its space id
was not present in configuration file and we couldn't find a matching launch id for it."""
try:
configuration_data = self.local_client.read_config()
p = LocalParser()
games = []
for game in p.parse_games(configuration_data):
games.append(game)
self.games_collection.extend(games)
except scanner.ScannerError as e:
log.error(f"Scanner error while parsing configuration, yaml is probably corrupted {repr(e)}")
if self.local_client.configurations_accessible():
try:
configuration_data = self.local_client.read_config()
p = LocalParser()
games = []
for game in p.parse_games(configuration_data):
games.append(game)
self.games_collection.extend(games)
except scanner.ScannerError as e:
log.error(f"Scanner error while parsing configuration, yaml is probably corrupted {repr(e)}")

def _parse_local_game_ownership(self):
if self.local_client.ownership_accessible():
Expand Down
2 changes: 1 addition & 1 deletion src/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.50'
__version__ = '0.51'

0 comments on commit 9d35793

Please sign in to comment.