Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't give an error if you still didn't install requirements.

  • Loading branch information...
commit 2a78a27cc79c170792fd150bb9313462c15490dd 1 parent 9fad734
@gkmngrgn gkmngrgn authored
Showing with 8 additions and 3 deletions.
  1. +8 −3 colorific/__init__.py
View
11 colorific/__init__.py
@@ -21,6 +21,11 @@ def get_version():
__version__ = get_version()
-# import palette modules for backward compatilibity
-from .palette import *
-from .config import *
+# import palette modules for backward compatilibity.
+try:
+ from .palette import *
+ from .config import *
+
+except ImportError:
+ # you should install requirements, see requirements.pip file.
+ pass
Please sign in to comment.
Something went wrong with that request. Please try again.