From 9e574a448b7eb76de946bd89d43a6f85f70f7af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Sun, 10 Sep 2017 14:41:38 +0200 Subject: [PATCH] Remove trailing semicolon --- anki/importing/mnemo.py | 2 +- anki/stats.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/anki/importing/mnemo.py b/anki/importing/mnemo.py index b3e0ad2ef..f07388a26 100644 --- a/anki/importing/mnemo.py +++ b/anki/importing/mnemo.py @@ -54,7 +54,7 @@ acq_reps+ret_reps, lapses, card_type_id from cards"""): elif row[1].startswith("5.1"): cloze[row[0]] = note # check for None to fix issue where import can error out - rawTags = row[2]; + rawTags = row[2] if rawTags is None: rawTags = "" # merge tags into note diff --git a/anki/stats.py b/anki/stats.py index d653192f0..e1b6a4a68 100644 --- a/anki/stats.py +++ b/anki/stats.py @@ -194,11 +194,11 @@ where lastIvl >= 21 and id > ?"""+lim, (self.col.sched.dayCutoff-86400)*1000) def dueGraph(self): if self.type == 0: - start = 0; end = 31; chunk = 1; + start, end, chunk = 0, 31, 1 elif self.type == 1: - start = 0; end = 52; chunk = 7 + start, end, chunk = 0, 52, 7 elif self.type == 2: - start = 0; end = None; chunk = 30 + start, end, chunk = 0, None, 30 d = self._due(start, end, chunk) yng = [] mtr = []