mirror of
https://github.com/markqvist/LXMF.git
synced 2025-09-21 21:34:47 -04:00
Fix stamp cost extractor function
This commit is contained in:
parent
0fc15e6054
commit
d8e2e2a45f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue