Fix update
This commit is contained in:
parent
f10d808df9
commit
7e1f0735f4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue