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
bob
bob.pad.face
Commits
d6772cf1
Commit
d6772cf1
authored
Feb 15, 2019
by
Guillaume HEUSCH
Browse files
[db, casiasurf] added attack-type=None for real examples
parent
414e5b3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/face/database/casiasurf.py
View file @
d6772cf1
...
...
@@ -41,10 +41,12 @@ class CasiaSurfPadFile(VideoPadFile):
self
.
stream_type
=
stream_type
if
not
isinstance
(
s
.
attack_type
,
str
):
attack_type
=
str
(
s
.
attack_type
)
attack_type
=
None
else
:
attack_type
=
s
.
attack_type
if
attack_type
==
'0'
:
s
.
attack_type
=
None
super
(
CasiaSurfPadFile
,
self
).
__init__
(
client_id
=
s
.
id
,
file_id
=
s
.
id
,
...
...
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