mirror of
https://github.com/markqvist/LXMF.git
synced 2024-10-01 01:35:36 -04:00
Fix stamp cost extractor function
This commit is contained in:
parent
0fc15e6054
commit
d8e2e2a45f
@ -112,7 +112,7 @@ def display_name_from_app_data(app_data=None):
|
|||||||
return app_data.decode("utf-8")
|
return app_data.decode("utf-8")
|
||||||
|
|
||||||
def stamp_cost_from_app_data(app_data=None):
|
def stamp_cost_from_app_data(app_data=None):
|
||||||
if app_data == None:
|
if app_data == None or app_data == b"":
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
# Version 0.5.0+ announce format
|
# Version 0.5.0+ announce format
|
||||||
|
Loading…
Reference in New Issue
Block a user