mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-11 18:47:26 +08:00
Update to v2.6.6 without release
- Fix a bug about purchase discount - Fix a bug about database synchronization, which may make 'api_login' table empty - For Arcaea 3.8.8 - Update a logout api
This commit is contained in:
@@ -777,12 +777,12 @@ def change_purchase():
|
||||
discount_from = int(time.mktime(time.strptime(
|
||||
discount_from, "%Y-%m-%dT%H:%M"))) * 1000
|
||||
else:
|
||||
discount_from = None
|
||||
discount_from = -1
|
||||
if discount_to:
|
||||
discount_to = int(time.mktime(time.strptime(
|
||||
discount_to, "%Y-%m-%dT%H:%M"))) * 1000
|
||||
else:
|
||||
discount_to = None
|
||||
discount_to = -1
|
||||
except:
|
||||
error = '数据错误 Wrong data.'
|
||||
flash(error)
|
||||
|
||||
Reference in New Issue
Block a user