mirror of
https://github.com/markqvist/LXMF
synced 2026-11-22 23:10:36 +00:00
Fix stamp cost extractor function
This commit is contained in:
1 parent
0fc15e6054
commit
d8e2e2a45f
1 file changed
+1
-1
+1
-1
@@ -112,7 +112,7 @@ def display_name_from_app_data(app_data=None):
|
||||
return app_data.decode("utf-8")
|
||||
|
||||
def stamp_cost_from_app_data(app_data=None):
|
||||
if app_data == None:
|
||||
if app_data == None or app_data == b"":
|
||||
return None
|
||||
else:
|
||||
# Version 0.5.0+ announce format
|
||||
|
||||
Reference in new issue
Block a user