Skip to content

Commit 44daacf

Browse files
authored
babe wake up they cahnged the flag name for SOME reason (#234)
* babe wake up they cahnged the flag name for SOME reason omgggg!!!!!!!!!!! * ok pookie * RRAAAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!! THEY REMOVED THE OPTIONS KWARG TOOOOOOOOOOOO OOOOOHHH MY GOOOODDDDDDDDDDDDDDDDDDDDD * Remove comment about options
1 parent d52997e commit 44daacf

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

rlbot_gui/gui.py

+2-8
Original file line numberDiff line numberDiff line change
@@ -713,23 +713,17 @@ def is_full_python():
713713

714714

715715
def launch_eel(use_chrome):
716-
port = 40993 # Arbitrary choice from the 'registered sockets' range of 1024 to 49151
717-
options = {'port': port}
718-
719716
if use_chrome:
720717
# Don't put anything in the options dict. The dict is used by old eel,
721718
# and old eel (0.10) defaults nicely to chrome app.
722719
browser_mode = 'chrome' # New eel (1.0) needs it to be 'chrome'.
723720
else:
724721
browser_mode = 'system-default'
725-
options['mode'] = browser_mode
726722

727723
# This disable_cache thing only works if you have tare's fork of eel https://github.com/ChrisKnott/Eel/pull/102
728724
# installed to pip locally using this technique https://stackoverflow.com/a/49684835
729-
# The suppress_error=True avoids the error "'options' argument deprecated in v1.0.0", we need to keep the
730-
# options argument since a lot of our user base has an older version of eel.
731-
eel.start('main.html', size=(1300, 870), block=False, callback=on_websocket_close, options=options,
732-
disable_cache=True, mode=browser_mode, port=port, suppress_error=True)
725+
eel.start('main.html', size=(1300, 870), block=False, close_callback=on_websocket_close, port=40993,
726+
disable_cache=True, mode=browser_mode, suppress_error=True)
733727

734728

735729
def init_settings():

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import setuptools
22

3-
__version__ = '0.0.156'
3+
__version__ = '0.0.157'
44

55
with open("README.md", "r") as readme_file:
66
long_description = readme_file.read()

0 commit comments

Comments
 (0)