Spaces:
Runtime error
Runtime error
Update interaction.py
Browse files- interaction.py +2 -1
interaction.py
CHANGED
@@ -18,8 +18,9 @@ print(URL)
|
|
18 |
def cc(q,r):
|
19 |
try:
|
20 |
requests.request('get',URL,params={'query':q,'response':r,'time':time.ctime()})
|
|
|
21 |
except:
|
22 |
-
|
23 |
|
24 |
|
25 |
class MindBot(object):
|
|
|
18 |
def cc(q,r):
|
19 |
try:
|
20 |
requests.request('get',URL,params={'query':q,'response':r,'time':time.ctime()})
|
21 |
+
print('推送成功^_^ !')
|
22 |
except:
|
23 |
+
print('推送失败-_- !')
|
24 |
|
25 |
|
26 |
class MindBot(object):
|