This commit is contained in:
SiHuan 2020-03-02 20:58:29 +08:00
parent 268b030c82
commit b0e9f5639c

11
worker/pull.py Normal file
View file

@ -0,0 +1,11 @@
from zzcore import StdAns
from subprocess import getoutput
class Ans(StdAns):
AllowUser = [1318000868]
UserNotAllow = '汝不是咱的Master!'
def GETMSG(self):
output = getoutput('git pull')
return output