Skip to content

Commit

Permalink
Fixed an issue with cache generation (v0.1.2).
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerbrawl committed Dec 4, 2019
1 parent edd0896 commit 5cec171
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Tyler Nichols'

# The full version, including alpha/beta/rc tags
release = 'v0.1'
release = 'v0.1.2'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/galaxyutils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__author__ = "Tyler Nichols"
__license__ = "MIT"
__version__ = "0.1.1"
__version__ = "0.1.2"
1 change: 1 addition & 0 deletions src/galaxyutils/time_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ async def launch_game(self, game_id):
if not start_time:
start_time = time()
if game_id not in self._game_time_cache:
self._game_time_cache[game_id] = dict()
self._game_time_cache[game_id]['time_played'] = 0
self._game_time_cache[game_id]['last_played'] = start_time
self._running_games_dict[game_id] = (_RunningGameInfo(game_id=game_id, start_time=(time() if not start_time else
Expand Down

0 comments on commit 5cec171

Please sign in to comment.