Skip to content

Commit

Permalink
forgot to comment unfinished feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaaoBlues committed Mar 12, 2023
1 parent 5dcba71 commit 37257ec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions copypasta.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from string import printable

# instances discovery server
from discovery_server import Server as DiscoveryServer
#from discovery_server import Server as DiscoveryServer

#init flask app and secret key
app = Flask(__name__)
Expand Down Expand Up @@ -385,8 +385,8 @@ def change_accepting_uploads(json_data:dict):
# fill up the list of local instances of copypasta available
@socketio.on("[GET_CP_INSTANCES]")
def get_cp_instances(json_data:dict):

socketio.emit("[NOTIFY_USER]",{"msg":str(d_server.discover_instances())})
# not finished
socketio.emit("[NOTIFY_USER]",{"msg":"str(d_server.discover_instances())"})


#processes
Expand Down Expand Up @@ -871,8 +871,8 @@ def client():

if not is_server_already_running():

d_server = DiscoveryServer()
d_server.start()
#d_server = DiscoveryServer()
#d_server.start()

socketio.run(app,host="0.0.0.0",port=21987)

Expand Down

0 comments on commit 37257ec

Please sign in to comment.