Skip to content

Commit

Permalink
Update update.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iewnfod committed Oct 13, 2023
1 parent ae0eef7 commit 15a6817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def _force_update(remote, repo):

def _update(remote, repo):
try:
if new_animation('Updating', 3, remote.pull, failed_msg='Failed to Update'):
print('\033[1mUpdate Successful\033[0m')
remote.pull()
print('\033[1mUpdate Successful\033[0m')
except git.GitCommandError:
override = (
'There might be some conflicts between your copy and the remote one. Do you want to overwrite it? [Y/n]'
Expand Down

0 comments on commit 15a6817

Please sign in to comment.