Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeperbus committed Apr 27, 2017
1 parent 93723b3 commit c35488d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def createDailySchedule(self):
, 0
from tv_program
where replace(date('now', 'localtime'), '-', '') between start_date and
case when end_date ='' then '30000101' else end_date end
case when end_date ='' or end_date is null then '30000101' else end_date end
and strftime('%w', 'now', 'localtime') = day
"""
)
Expand Down

0 comments on commit c35488d

Please sign in to comment.