File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,6 @@ def index():
29
29
role = ""
30
30
image_name = ""
31
31
ip = str (request .remote_addr )
32
-
33
- if id == 0 :
34
- print ("_" * 20 + "GOD's password" + "_" * 20 )
35
- print (preshared_key )
36
- print ("_" * 54 )
37
32
38
33
if ip in ip2role_index_name .keys ():
39
34
return render_template ("Player.html" , player = ip2role_index_name [ip ])
@@ -163,6 +158,10 @@ def give_me_roles(ordered_roles):
163
158
chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()"
164
159
for i in range (4 ):
165
160
preshared_key += chars [randrange (0 , len (chars ))]
166
- app .run (host = "0.0.0.0" , \
167
- port = 5000 , \
168
- debug = True )
161
+ print ("_" * 20 + "GOD's password" + "_" * 20 )
162
+ print (preshared_key )
163
+ print ("_" * 54 )
164
+ app .run (host = "0.0.0.0" ,
165
+ port = 5000 ,
166
+ debug = True ,
167
+ use_reloader = False )
You can’t perform that action at this time.
0 commit comments