mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 08:23:29 +00:00
return error when import fails
This commit is contained in:
@@ -16,12 +16,14 @@ except:
|
|||||||
errmsg = '''
|
errmsg = '''
|
||||||
Dotdrop has been updated to be included in pypi and
|
Dotdrop has been updated to be included in pypi and
|
||||||
the way it needs to be called has changed.
|
the way it needs to be called has changed.
|
||||||
|
|
||||||
First update dotdrop:
|
First update dotdrop:
|
||||||
$ git submodule update --init --recursive
|
$ git submodule update --init --recursive
|
||||||
And then re-run the bootstrap script:
|
And then re-run the bootstrap script:
|
||||||
$ ./dotdrop/bootstrap.sh
|
$ ./dotdrop/bootstrap.sh
|
||||||
'''
|
'''
|
||||||
print(errmsg)
|
print(errmsg)
|
||||||
|
sys.exit(1)
|
||||||
from .logger import Logger
|
from .logger import Logger
|
||||||
from .templategen import Templategen
|
from .templategen import Templategen
|
||||||
from .installer import Installer
|
from .installer import Installer
|
||||||
|
|||||||
Reference in New Issue
Block a user