Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
D-GENIES
Commits
d4b84f70
Commit
d4b84f70
authored
Feb 15, 2018
by
Floreal Cabanettes
Browse files
Fix URL for windows
parent
6bd81ed3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dgenies/config_reader.py
View file @
d4b84f70
import
os
import
sys
import
re
import
inspect
from
pathlib
import
Path
...
...
@@ -25,7 +26,7 @@ class AppConfigReader:
os
.
path
.
join
(
str
(
Path
.
home
()),
".dgenies"
,
"application.properties"
)]
if
os
.
name
==
"nt"
:
config_file
.
insert
(
1
,
"../
application.properties"
)
config_file
.
insert
(
1
,
os
.
path
.
join
(
sys
.
executable
,
'..'
,
"
application.properties"
)
)
for
my_config_file
in
config_file_search
:
if
os
.
path
.
exists
(
my_config_file
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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