Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
agkyra
Commits
7a426901
Commit
7a426901
authored
Oct 08, 2015
by
Giorgos Korfiatis
Browse files
fix inserting lib in sys.path
parent
ddcd8a10
Changes
1
Hide whitespace changes
Inline
Side-by-side
agkyra/scripts/agkyra
View file @
7a426901
...
...
@@ -18,10 +18,13 @@ import os
import
sys
import
argparse
CURPATH
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
try
:
from
agkyra
import
config
except
ImportError
:
sys
.
path
.
insert
(
0
,
"lib"
)
LIBPATH
=
os
.
path
.
join
(
CURPATH
,
"lib"
)
sys
.
path
.
insert
(
0
,
LIBPATH
)
from
agkyra
import
config
AGKYRA_DIR
=
config
.
AGKYRA_DIR
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment