mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 09:22:38 +02:00
Workaround to avoid history bug #1324
This commit is contained in:
parent
752c80d29f
commit
2f099674ed
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@ def history_sort_key(history_item_dict):
|
||||||
|
|
||||||
def describe_version(version_obj):
|
def describe_version(version_obj):
|
||||||
"""Use the base model str() function to describe a version object"""
|
"""Use the base model str() function to describe a version object"""
|
||||||
return parent_class(type(version_obj)).__str__(version_obj)
|
if version_obj is None:
|
||||||
|
return ""
|
||||||
|
else:
|
||||||
|
return parent_class(type(version_obj)).__str__(version_obj)
|
||||||
|
|
||||||
|
|
||||||
def describe_owers_change(version, human_readable_names):
|
def describe_owers_change(version, human_readable_names):
|
||||||
|
|
Loading…
Reference in a new issue