This commit is contained in:
Luke Rogers 2014-02-28 17:16:01 +13:00
parent 17b75a2ba9
commit 31d9031dcc
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@ from util import hook, web
def update(inp, bot=None):
repo = Repo()
git = repo.git
pull = git.pull()
try:
pull = git.pull()
except Exception as e:
return e
if "\n" in pull:
return web.haste(pull)
else: