Commit cd792d0c authored by OzzieIsaacs's avatar OzzieIsaacs

Import files are now searched first from vendor folder and not from python folder

This should solve issues if different versions of packages are installed on the machine (like in #61)
parent 753a0a82
...@@ -18,3 +18,4 @@ eggs/ ...@@ -18,3 +18,4 @@ eggs/
*.log *.log
config.ini config.ini
.idea/
...@@ -5,7 +5,7 @@ import sys ...@@ -5,7 +5,7 @@ import sys
base_path = os.path.dirname(os.path.abspath(__file__)) base_path = os.path.dirname(os.path.abspath(__file__))
# Insert local directories into path # Insert local directories into path
sys.path.append(os.path.join(base_path, 'vendor')) sys.path.insert(0,os.path.join(base_path, 'vendor'))
from cps import web from cps import web
from cps import config from cps import config
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment