1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 05:04:43 +00:00

return error when import fails

This commit is contained in:
deadc0de6
2017-12-23 18:44:29 +01:00
parent 3b1e289c9b
commit 9a0a90fc17

View File

@@ -16,12 +16,14 @@ except:
errmsg = '''
Dotdrop has been updated to be included in pypi and
the way it needs to be called has changed.
First update dotdrop:
$ git submodule update --init --recursive
And then re-run the bootstrap script:
$ ./dotdrop/bootstrap.sh
'''
print(errmsg)
sys.exit(1)
from .logger import Logger
from .templategen import Templategen
from .installer import Installer