4415: Editing ID format in preferences can throw exception
svn: r16227
This commit is contained in:
parent
9f629ad6f9
commit
d9b544c17a
@ -1069,6 +1069,8 @@ class DbBsddbRead(DbReadBase, Callback):
|
||||
str_ = val % 1
|
||||
except TypeError: # missing conversion specifier
|
||||
prefix_var = val + "%d"
|
||||
except ValueError: # incomplete format
|
||||
prefix_var = default+"%04d"
|
||||
else:
|
||||
prefix_var = val # OK as given
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user