Added some logging and output when trying to restart Bazarr.

This commit is contained in:
Louis Vézina 2018-10-22 21:37:06 -04:00
parent 127d9b9bc7
commit 3a0ca513d9
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,8 @@ def restart():
except Exception as e:
logging.error('BAZARR Cannot create bazarr.restart file.')
else:
print 'Bazarr is being restarted...'
logging.info('Bazarr is being restarted...')
restart_file.write('')
restart_file.close()