恢复均价计算命令发送脚本

This commit is contained in:
2018-04-09 15:04:11 +08:00
parent c0dde47402
commit d253c17cae
2 changed files with 6 additions and 7 deletions
-1
View File
@@ -134,7 +134,6 @@ def get_weekend():
if calendar.weekday(now.year, now.month, now.day) == 6:
break
now = now + datetime.timedelta(days=1)
now = now - datetime.timedelta(days=14)
pacific = pytz.timezone('Asia/Shanghai')
return pacific.localize(now)