XZZ/worker/pull.py
2020-03-02 20:58:29 +08:00

11 lines
237 B
Python

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