Skip to content

Commit

Permalink
fixed compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaaoBlues committed Nov 27, 2022
1 parent a2f6db4 commit 216c73d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
22 changes: 19 additions & 3 deletions copypasta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
{
"optionDest": "filenames",
"value": "G:/Mon Drive/dev/projects/CopyPasta/copypasta.py"
"value": "C:/Users/7h3x0/projects/copypasta/copypasta.py"
},
{
"optionDest": "onefile",
Expand All @@ -19,7 +19,7 @@
},
{
"optionDest": "icon_file",
"value": "G:/Mon Drive/dev/projects/CopyPasta/static/favicon.ico"
"value": "C:/Users/7h3x0/projects/copypasta/favicon.ico"
},
{
"optionDest": "ascii",
Expand Down Expand Up @@ -71,7 +71,23 @@
},
{
"optionDest": "datas",
"value": "G:/Mon Drive/dev/projects/CopyPasta/version;."
"value": "C:/Users/7h3x0/projects//copypasta/version;."
},
{
"optionDest": "hiddenimports",
"value": "engineio.async_gevent"
},
{
"optionDest": "hiddenimports",
"value": "gevent"
},
{
"optionDest": "hiddenimports",
"value": "engineio.async_drivers.aiohttp"
},
{
"optionDest": "hiddenimports",
"value": "engineio.async_aiohttp"
}
],
"nonPyinstallerOptions": {
Expand Down
5 changes: 3 additions & 2 deletions copypasta.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@

# socket io for real time speeeeeed
from flask_socketio import SocketIO

# necessary to compile -__(°-°)__-
from engineio.async_drivers import gevent


# to generate app secret key
Expand All @@ -44,7 +45,7 @@


# init socketio
socketio = SocketIO(app)
socketio = SocketIO(app,async_mode="gevent")


if getattr(sys, 'frozen', False):
Expand Down

0 comments on commit 216c73d

Please sign in to comment.