Added some logging and output when trying to restart Bazarr.

pull/222/head
Louis Vézina 6 years ago
parent 127d9b9bc7
commit 3a0ca513d9

@ -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()

Loading…
Cancel
Save