Skip to content

Commit

Permalink
Merge pull request #7 from tylerbrawl/docs
Browse files Browse the repository at this point in the history
Fixed an issue with cache generation (v0.1.2).
  • Loading branch information
tylerbrawl authored Dec 4, 2019
2 parents 8ddfd5c + 5cec171 commit 5ff1849
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 5ff1849

Please sign in to comment.