Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.face
Commits
575c056b
Commit
575c056b
authored
Feb 09, 2017
by
Manuel Günther
Browse files
Use client id instead of id for IJBA file
parent
39fbe912
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/database/ijba.py
View file @
575c056b
...
...
@@ -21,7 +21,7 @@ class IJBABioFile(FaceBioFile):
def
make_path
(
self
,
directory
,
extension
):
# add file ID to the path, so that a unique path is generated (there might be several identities in each physical file)
return
str
(
os
.
path
.
join
(
directory
or
''
,
self
.
path
+
"-"
+
str
(
self
.
id
)
+
(
extension
or
''
)))
return
str
(
os
.
path
.
join
(
directory
or
''
,
self
.
path
+
"-"
+
str
(
self
.
client_
id
)
+
(
extension
or
''
)))
class
IJBABioFileSet
(
BioFileSet
):
...
...
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