Skip to content

Commit

Permalink
Refactor handle_game_status to accept a demo parameter
Browse files Browse the repository at this point in the history
Update version to 1.2.0 in setup.py
  • Loading branch information
JakubAndrysek committed Sep 22, 2024
1 parent d766116 commit 2904500
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions ForrestHub-app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ clear-local:

pyinstaller: clear-local
pyinstaller ./pyinstaller.spec

2 changes: 1 addition & 1 deletion ForrestHub-app/app/socketio_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def handle_disconnect():


@socketio.on("get_game_status")
def handle_game_status():
def handle_game_status(demo):
global game_status
emit("game_status", game_status)

Expand Down
2 changes: 1 addition & 1 deletion ForrestHub-app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class Config:
VERSION = "1.2.0"
VERSION = "1.2.1"
DATAFILE = "ForrestHub-data.json"
LOG_FOLDER = "ForrestHub-logs"
ALLOWED_EXTENSIONS = ["json"]
Expand Down
2 changes: 1 addition & 1 deletion ForrestHub-app/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='ForrestHub App',
version='1.0',
version='1.2.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
Expand Down

0 comments on commit 2904500

Please sign in to comment.