fix: restore changes of fstring in service.py

This commit is contained in:
Ewerton Belo 2022-10-31 20:14:55 -03:00 committed by GitHub
parent 96982d52f1
commit 721aa664a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ monitor = xbmc.Monitor()
try:
clear_old_cache_data()
except Exception as error:
log.error(f"Error in clear_old_cache_data() : {error}")
log.error("Error in clear_old_cache_data() : {0}".format(error))
# wait for 10 seconds for the Kodi splash screen to close
i = 0
@ -163,8 +163,8 @@ while home_window.get_property('exit') == 'False':
set_background_image(False)
except Exception as error:
log.error(f"Exception in Playback Monitor: {error}")
log.error(f"{traceback.format_exc()}")
log.error("Exception in Playback Monitor: {0}".format(error))
log.error("{0}".format(traceback.format_exc()))
first_run = False
xbmc.sleep(1000)