fix add Jobs backend

This commit is contained in:
Tim Gröger 2023-04-28 13:51:41 +02:00
parent 994f65c38b
commit eb0e54714b
1 changed files with 2 additions and 1 deletions

View File

@ -24,8 +24,9 @@ def dict_get(self, key, default=None, type=None):
if type is not None: if type is not None:
try: try:
rv = type(rv) rv = type(rv)
except ValueError: except (ValueError, TypeError):
rv = default rv = default
return rv return rv