Update 106.py

This commit is contained in:
MocyRee 2020-10-25 19:04:17 +08:00 committed by GitHub
parent d32179824a
commit dfe115dfb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}秒前有人来过。'