Skip to content
Snippets Groups Projects
Commit b1f92b87 authored by Christoph Schmidt's avatar Christoph Schmidt
Browse files

Added allowed-types for FieldPath

parent dbbaac5d
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,9 @@ class FieldPath(Field): ...@@ -22,7 +22,9 @@ class FieldPath(Field):
# self._value_replaced_keywords = self.replace_keywords(self.value) # self._value_replaced_keywords = self.replace_keywords(self.value)
self.view = FieldViewPath(self) self.view = FieldViewPath(self)
self._input = self.value self._input = self.value
self._allowed_types = (Path, [str]) self._allowed_types = (Path, [pathlib.PurePosixPath, pathlib.PurePath,
pathlib.PureWindowsPath,
str])
# self.ui_btn_opens = [] # self.ui_btn_opens = []
# ================================================================================================================== # ==================================================================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment