remove print statement and change update branch

This commit is contained in:
Barunes Padhy 2024-06-21 21:18:25 +03:00
parent cb8efcb16e
commit 8b01cd3a0a

View File

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