Skip to content

Commit

Permalink
Update updater.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy1709 authored Mar 24, 2021
1 parent e4ca247 commit b9d5284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userbot/plugins/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ async def deploy_start(tgbot, message, refspec, remote):
await message.edit(
"Updating and Deploying the code. Please wait for 5 minutes then use `.alive` to check wheather I am online or not."
)
await remote.push(refspec="HEAD:refs/heads/master", force=True)
await remote.push(refspec=refspec)
await tgbot.disconnect()
os.execl(sys.executable, sys.executable, *sys.argv)

0 comments on commit b9d5284

Please sign in to comment.