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.pad.face
Commits
6e1824b1
Commit
6e1824b1
authored
Mar 12, 2018
by
Olegs NIKISINS
Browse files
Updated annotatoins in BATL HLDI
parent
f0a13f29
Pipeline
#17599
failed with stage
in 20 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/face/database/batl.py
View file @
6e1824b1
...
...
@@ -270,7 +270,10 @@ class BatlPadDatabase(PadDatabase):
if
self
.
annotations_temp_dir
:
# if directory is not an empty string
with
open
(
file_path
,
'w'
)
as
json_file
:
if
not
os
.
path
.
exists
(
os
.
path
.
split
(
file_path
)[
0
]
):
os
.
makedirs
(
os
.
path
.
split
(
file_path
)[
0
]
)
with
open
(
file_path
,
'w+'
)
as
json_file
:
json_file
.
write
(
json
.
dumps
(
annotations
))
...
...
Write
Preview
Supports
Markdown
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