Remove trailing semicolon

This commit is contained in:
Rémy Léone 2017-09-10 14:41:38 +02:00
parent 67728e73d7
commit 9e574a448b
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ acq_reps+ret_reps, lapses, card_type_id from cards"""):
elif row[1].startswith("5.1"): elif row[1].startswith("5.1"):
cloze[row[0]] = note cloze[row[0]] = note
# check for None to fix issue where import can error out # check for None to fix issue where import can error out
rawTags = row[2]; rawTags = row[2]
if rawTags is None: if rawTags is None:
rawTags = "" rawTags = ""
# merge tags into note # merge tags into note

View File

@ -194,11 +194,11 @@ where lastIvl >= 21 and id > ?"""+lim, (self.col.sched.dayCutoff-86400)*1000)
def dueGraph(self): def dueGraph(self):
if self.type == 0: if self.type == 0:
start = 0; end = 31; chunk = 1; start, end, chunk = 0, 31, 1
elif self.type == 1: elif self.type == 1:
start = 0; end = 52; chunk = 7 start, end, chunk = 0, 52, 7
elif self.type == 2: elif self.type == 2:
start = 0; end = None; chunk = 30 start, end, chunk = 0, None, 30
d = self._due(start, end, chunk) d = self._due(start, end, chunk)
yng = [] yng = []
mtr = [] mtr = []