]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/blobdiff - wrpylib/wrvalidators.py
Parse cachet.
[philipp/winterrodeln/wrpylib.git] / wrpylib / wrvalidators.py
index 61b141568a29a4fc78af906086848463d18db1a7..3b0ae5f84156d130f0ba4aa916a44ebf85e7c9c4 100644 (file)
@@ -694,7 +694,7 @@ def single_cachet_german_to_str(value: Tuple[str, str, str]) -> str:
     return ' '.join(value)
 
 
-def cachet_german_from_str(value):
+def cachet_german_from_str(value) -> Optional[List[Tuple[str, str, str]]]:
     """Converts a "Gütesiegel":
     '' => None
     'Nein' => []