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
dfd2a689
Commit
dfd2a689
authored
Aug 19, 2015
by
Giorgos Korfiatis
Browse files
add agkyra in python path when launching server
parent
927f5f21
Changes
1
Hide whitespace changes
Inline
Side-by-side
agkyra/scripts/server.py
View file @
dfd2a689
...
...
@@ -14,6 +14,13 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
os
import
sys
SCRIPTSPATH
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
AGKYRAPATH
=
os
.
path
.
dirname
(
SCRIPTSPATH
)
LIBPATH
=
os
.
path
.
dirname
(
AGKYRAPATH
)
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