Fixes for the V 9.4 snapshot

This commit is contained in:
2015-06-11 16:09:46 -05:00
parent 4b882d8586
commit aa5977f324
7 changed files with 25 additions and 14 deletions

View File

@@ -8,8 +8,8 @@ import output
logger = logging.getLogger("updater")
def do_update():
try:
return update.perform_update(endpoint=application.update_url, current_version=application.version, app_name=application.name, update_available_callback=available_update_dialog, progress_callback=progress_callback, update_complete_callback=update_finished)
except:
logger.exception("Update failed.")
output.speak("An exception occurred while attempting to update " + application.name + ". If this message persists, contact the " + application.name + " developers. More information about the exception has been written to the error log.",True)
# try:
return update.perform_update(endpoint=application.update_url, current_version=application.version, app_name=application.name, update_available_callback=available_update_dialog, progress_callback=progress_callback, update_complete_callback=update_finished)
# except:
# logger.exception("Update failed.")
# output.speak("An exception occurred while attempting to update " + application.name + ". If this message persists, contact the " + application.name + " developers. More information about the exception has been written to the error log.",True)