Added some print statements

This commit is contained in:
Barunes Padhy 2024-06-21 19:28:39 +03:00
parent 645e8f2028
commit 61701770a8
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ print ('Checking for updates')
rangolio_location = settings.DEPLOY_CONFIG["RANGOLIO_LOCATION"]
run_git_command('git_fetch_origin', rangolio_location)
updates = run_git_command('git_diff', rangolio_location)
updates = run_git_command('git_diff', rangolio_location, ['origin/development'])
print (updates)
if updates['subprocess_output'] and updates['subprocess_returncode'] == 0:
update_confirmation = draw_dialogue_box('Software Update', 'Would you like to update rangolio?', 'confirmation')

View File

@ -36,7 +36,7 @@ def run_git_command(operation, command_location, parameter=None):
"git_add_url": ['git', 'remote', 'add', 'origin'],
"git_push": ['git', 'push', '-u', 'origin', 'main'],
"git_clone": ['git', 'clone'],
"git_diff": ['git', 'diff', 'origin/main']
"git_diff": ['git', 'diff']
}
return run_command(operation, command_location, git_commands, parameter)