master
wkyuu 3 years ago
parent 2a3b2ee52f
commit 7622feb122

@ -67,6 +67,7 @@ class historyPriceItem:
if __name__ == '__main__': if __name__ == '__main__':
# id = "10036840192083" # id = "10036840192083"
id = "100020511880" # More # id = "100020511880" # More
id = "100008227212"
aitem = historyPriceItem(id) aitem = historyPriceItem(id)
print(aitem.gethistoryPrice()) print(aitem.gethistoryPrice())

@ -79,6 +79,9 @@ def listCatalogues(): # 列出缓存目录下的条目
if not os.path.exists(path): if not os.path.exists(path):
print("当前目录[{}]下没有数据!".format(path)) print("当前目录[{}]下没有数据!".format(path))
return False, None, None return False, None, None
if len(os.listdir(path)) is 0:
print("当前目录[{}]下没有数据!".format(path))
return False, None, None
dirList = os.listdir(path) dirList = os.listdir(path)
fileList = [] fileList = []
for filename in dirList: for filename in dirList:

Loading…
Cancel
Save