提交 ca27fd9f 编写于 作者: H hjdhnx

版本升级

上级 2e5bc7cd
......@@ -52,7 +52,7 @@ class storage_service(object):
@classmethod
def getItem(self, key, value=''):
res = Storage.getItem(key,value)
if str(res) == '0' or str(res) == 'false' or str(res) == 'False':
if not str(res) or str(res) == '0' or str(res) == 'false' or str(res) == 'False':
return 0
return res
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册