Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
BoxuanXu
/
FlaskDriverMXNet2SeetaNet
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 54e6de8b
authored
Aug 15, 2017
by
BoxuanXu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change split type
1 parent
c873c851
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/Drive_Converter.py
src/Drive_Converter.py
View file @
54e6de8
...
...
@@ -69,11 +69,11 @@ def get_path_from_db(modelid,seetanet_model):
return
None
,
None
else
:
path_name
=
str
(
result_atlas
[
0
])
if
path_name
.
find
(
"
::
"
)
==
-
1
:
if
path_name
.
find
(
"
|
"
)
==
-
1
:
logging
.
info
(
'get wrong parameters!'
)
return
None
,
None
path_list
=
path_name
.
split
(
"
::
"
)
path_list
=
path_name
.
split
(
"
|
"
)
if
len
(
path_list
)
!=
2
:
logging
.
info
(
'get wrong parameters!'
)
else
:
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment