diff --git a/src/confighandler/controller/fields/FieldPath.py b/src/confighandler/controller/fields/FieldPath.py index c7500d5c1d0c25b047f176155e1f30b035d49848..2c8552b1c0137b69f98e2ba907fef385a6e7fcdc 100644 --- a/src/confighandler/controller/fields/FieldPath.py +++ b/src/confighandler/controller/fields/FieldPath.py @@ -22,7 +22,9 @@ class FieldPath(Field): # self._value_replaced_keywords = self.replace_keywords(self.value) self.view = FieldViewPath(self) self._input = self.value - self._allowed_types = (Path, [str]) + self._allowed_types = (Path, [pathlib.PurePosixPath, pathlib.PurePath, + pathlib.PureWindowsPath, + str]) # self.ui_btn_opens = [] # ==================================================================================================================