Skip to content

Commit

Permalink
凌晨自动解除小黑屋状态
Browse files Browse the repository at this point in the history
  • Loading branch information
yjqiang committed Sep 1, 2018
1 parent 352b63c commit ef2d04d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ def check_status(self, func, value):
hour_minute = now.hour * 60 + now.minute
# 0点到3点 sleep模式
if hour_minute < 180:
self.is_injail = False
# self.printer_with_id(['sleep模式'], True)
if func == 'daily_task':
return 1
Expand Down

0 comments on commit ef2d04d

Please sign in to comment.