File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ git clone https://github.com/PaukPySharp/ExportIFCfromRevit.git
305305- расширить конфигурации IFC,
306306- улучшить логирование или диагностику,
307307
308- то имеет смысл оформлять изменения в виде pull request / issue (если репозиторий открыт)
308+ то имеет смысл оформлять изменения в виде pull request / issue
309309или хотя бы поддерживать свои форки синхронно с основной веткой.
310310
311311За консультацией по настройке можно написать автору проекта в Telegram.
Original file line number Diff line number Diff line change @@ -79,8 +79,9 @@ def resolve_if_exists(path: Optional[PathLike]) -> Optional[Path]:
7979 return path_obj
8080 # нормализуем путь и возвращаем с расширением в нижнем регистре
8181 resolved = path_obj .resolve ()
82- if resolved .suffix :
83- return resolved .with_suffix (resolved .suffix .lower ())
82+ if resolved .is_file () and resolved .suffix :
83+ resolved = resolved .with_suffix (resolved .suffix .lower ())
84+ return resolved
8485 except OSError :
8586 # В случае ошибки тоже возвращаем Path
8687 return path_obj
You can’t perform that action at this time.
0 commit comments