Fix update

This commit is contained in:
Zeva Rose 2022-05-01 15:39:24 -06:00
parent f10d808df9
commit 7e1f0735f4

View file

@ -123,7 +123,7 @@ async def update(bot: "Snake") -> Optional[UpdateResult]:
if current_hash != remote_hash: if current_hash != remote_hash:
logger.info(f"Updating from {current_hash} to {remote_hash}") logger.info(f"Updating from {current_hash} to {remote_hash}")
current_commands = get_all_commands() current_commands = get_all_commands()
changes = get_git_changes() changes = get_git_changes(repo)
origin.pull() origin.pull()
await asyncio.sleep(3) await asyncio.sleep(3)