[FIX] script todo database_manager: try click for first installation
This commit is contained in:
parent
465e8d9c05
commit
212a9238c9
1 changed files with 3 additions and 2 deletions
|
|
@ -8,15 +8,16 @@ import logging
|
||||||
import os
|
import os
|
||||||
import zipfile
|
import zipfile
|
||||||
|
|
||||||
import click
|
|
||||||
|
|
||||||
from script.todo.todo_i18n import t
|
from script.todo.todo_i18n import t
|
||||||
|
|
||||||
_logger = logging.getLogger(__name__)
|
_logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
import click
|
||||||
|
|
||||||
from script.todo import todo_file_browser
|
from script.todo import todo_file_browser
|
||||||
except Exception:
|
except Exception:
|
||||||
|
click = None
|
||||||
todo_file_browser = None
|
todo_file_browser = None
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue