File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,15 @@ def prepare_export(
131131 upload_state = upload_state_int_to_str (project .get ("upload_state" ))
132132
133133 if upload_state == "External" and include_fuse :
134- logger .warning ("Include fuse functionality is not supported for projects containing items attached with URLs" )
134+ logger .warning (
135+ "Include fuse functionality is not supported for projects containing items attached with URLs"
136+ )
135137 include_fuse = False
136138 if project ["type" ] == "Video" :
137139 if only_pinned :
138- logger .warning ("Pin functionality is not supported for projects containing videos attached with URLs" )
140+ logger .warning (
141+ "Pin functionality is not supported for projects containing videos attached with URLs"
142+ )
139143 only_pinned , include_fuse = False , False
140144
141145 team_id , project_id = project ["team_id" ], project ["id" ]
@@ -150,8 +154,8 @@ def prepare_export(
150154 json_req = {
151155 "include" : annotation_statuses ,
152156 "coco" : 0 ,
153- "is_pinned" : only_pinned ,
154- "fuse" : include_fuse ,
157+ "is_pinned" : int ( only_pinned ) ,
158+ "fuse" : int ( include_fuse ) ,
155159 "time" : current_time
156160 }
157161 if folder_names is not None :
You can’t perform that action at this time.
0 commit comments