mirror of https://github.com/CIRCL/lookyloo
fix: Avoid exception when the update scripts requires a new dependency
Fix https://github.com/Lookyloo/lookyloo/issues/969pull/986/head
parent
aee2eb8daf
commit
6c3fa8074f
|
@ -10,7 +10,13 @@ import subprocess
|
|||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
try:
|
||||
from lookyloo.default import get_homedir, get_config
|
||||
except ImportError as e:
|
||||
print(f'Unable to run the update script, it is probably due to a missing dependency: {e}')
|
||||
print('Please run "poetry install" and try again.')
|
||||
sys.exit()
|
||||
|
||||
|
||||
logging.config.dictConfig(get_config('logging'))
|
||||
|
||||
|
|
Loading…
Reference in New Issue