Merge pull request #27 from MocyRee/patch-1

Update 106.py
This commit is contained in:
SiHuan 2020-10-25 19:06:04 +08:00 committed by GitHub
commit 3465ca40b5

View file

@ -2,9 +2,9 @@ import requests
from zzcore import StdAns
class Ans(StdAns):
AllowGroup = [959613860]
AllowGroup = [959613860, 983250332]
def GETMSG(self):
seconds = int(requests.get("http://127.0.0.1:8095/").text)
m, s = divmod(seconds, 60)
h, m = divmod(m, 60)
return f'{h}小时{m}分钟{s}秒前有人来过。'
return f'{h}小时{m}分钟{s}秒前有人来过。'