mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-22 22:10:42 +00:00
Added some logging and output when trying to restart Bazarr.
This commit is contained in:
parent
127d9b9bc7
commit
3a0ca513d9
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,8 @@ def restart():
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error('BAZARR Cannot create bazarr.restart file.')
|
logging.error('BAZARR Cannot create bazarr.restart file.')
|
||||||
else:
|
else:
|
||||||
|
print 'Bazarr is being restarted...'
|
||||||
|
logging.info('Bazarr is being restarted...')
|
||||||
restart_file.write('')
|
restart_file.write('')
|
||||||
restart_file.close()
|
restart_file.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue