Skip to content
Snippets Groups Projects
Commit 3a789fe4 authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

Import: Cleanup: get_row_name

parent 0170bbaf
No related branches found
No related tags found
1 merge request!97Import orgů
...@@ -347,8 +347,8 @@ class Import: ...@@ -347,8 +347,8 @@ class Import:
def get_row_name(self, row: mo.csv.Row) -> Optional[str]: def get_row_name(self, row: mo.csv.Row) -> Optional[str]:
if hasattr(row, 'email'): if hasattr(row, 'email'):
return row.email # type: ignore
# čtení prvku potomka # čtení prvku potomka
return row.email # type: ignore
return None return None
def generic_import(self, path: str) -> bool: def generic_import(self, path: str) -> bool:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment