Skip to content

Commit 34f76a1

Browse files
committed
Update by comments
1 parent a2f19f3 commit 34f76a1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/superannotate/lib/app/interface/base_interface.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ def default_parser(function_name: str, kwargs: dict) -> tuple:
7171
continue
7272
elif key == "project":
7373
properties["project_name"], properties["folder_name"] = extract_project_folder(value)
74-
elif isinstance(value, str) and key == "project":
75-
properties["project_name"] = value.split()
76-
if isinstance(value, (str, int, float, bool, str)):
74+
elif isinstance(value, (str, int, float, bool, str)):
7775
properties[key] = value
7876
elif isinstance(value, dict):
7977
properties[key] = value.keys()

0 commit comments

Comments
 (0)