Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeperbus committed Feb 6, 2017
1 parent 101ee49 commit 5124d02
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dbserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def username(self, chat_id):
return res[0]

# 새로운 티비 프로그램을 입력한다.
def subscribeTvShow(self, name, day, time, startDate, endDate, keyword, chat_id):
def subscribeTvShow(self, name, day, time, startDate, keyword, chat_id):
try:
with self.con:
self.con.execute(
Expand All @@ -86,10 +86,9 @@ def subscribeTvShow(self, name, day, time, startDate, endDate, keyword, chat_id)
, day
, time
, start_date
, end_date
, search_keyword
, chat_id
) values (?,?,?,?,?,?,?)
) values (?,?,?,?,?,?)
""", (name, day, time, startDate, keyword, chat_id)
)
except sqlite.Error as err:
Expand Down

0 comments on commit 5124d02

Please sign in to comment.