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
13d570ce
Commit
13d570ce
authored
May 14, 2015
by
Giorgos Korfiatis
Browse files
load gui from dir
parent
7aa82667
Changes
1
Hide whitespace changes
Inline
Side-by-side
agkyra/gui.py
View file @
13d570ce
...
...
@@ -39,7 +39,7 @@ class GUI(WebSocketBaseClient):
self
.
start
=
self
.
connect
self
.
nw
=
kwargs
.
get
(
'nw'
,
os
.
path
.
join
(
os
.
path
.
join
(
CURPATH
,
'nwjs'
),
'nw'
))
self
.
gui_code
=
kwargs
.
get
(
'gui_code'
,
os
.
path
.
join
(
CURPATH
,
'gui
.nw
'
))
self
.
gui_code
=
kwargs
.
get
(
'gui_code'
,
os
.
path
.
join
(
CURPATH
,
'gui'
))
assert
not
self
.
_gui_running
(
session
),
(
'Failed to initialize GUI, because another GUI is running'
)
self
.
_dump_session_file
(
session
)
...
...
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