Skip to content

Commit 70c5896

Browse files
author
DJCHICKEN4
authored
Update stats.py
1 parent e8aa821 commit 70c5896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/stats.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ def home_get_dat():
7272
o = rows[0][0]
7373

7474
injectCode = ''
75-
if trape.nGrokUrl != '':
76-
injectCode = 'http://' + str(trape.nGrokUrl) + '/' + str(trape.injectURL)
75+
if trape.nGrokUrl != '':
76+
server_code = str(trape.nGrokUrl)
7777
else:
7878
injectCode = 'http://' + str(trape.localIp) + ':' + str(trape.app_port) + '/' + str(trape.injectURL)
7979

0 commit comments

Comments
 (0)