mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-19 22:46:20 -05:00
Skipping kiwix restart during testing before flagging.
This commit is contained in:
parent
6f94dac2e8
commit
551aa50bce
1 changed files with 3 additions and 3 deletions
|
|
@ -477,13 +477,13 @@ def flag_outdated_zim_files():
|
|||
|
||||
|
||||
async def restart_kiwix():
|
||||
if PYTEST:
|
||||
logger.warning('Unable to restart Kiwix serve because we are testing')
|
||||
return
|
||||
if DOCKERIZED:
|
||||
logger.warning('Setting Kiwix restart because this is in a docker container')
|
||||
flags.kiwix_restart.set()
|
||||
return
|
||||
if PYTEST:
|
||||
logger.warning('Unable to restart Kiwix serve because we are testing')
|
||||
return
|
||||
|
||||
logger.info('Restarting Kiwix serve')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue