Commit 6e1824b1 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Updated annotatoins in BATL HLDI

parent f0a13f29
Pipeline #17599 failed with stage
in 20 minutes and 14 seconds
......@@ -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:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment