formatting fixes
This commit is contained in:
parent
db69f84c0a
commit
65ec9d190d
@ -1503,7 +1503,7 @@ border: 1px solid #000; padding: 3px; '>%s</div>"""
|
||||
|
||||
s += ("<td align=right>%s</td>" * 2) % (
|
||||
"%d%%" % (factor / 10) if factor else "",
|
||||
self.col.backend.format_time_span(taken)
|
||||
self.col.backend.format_time_span(taken),
|
||||
) + "</tr>"
|
||||
s += "</table>"
|
||||
if cnt < self.card.reps:
|
||||
@ -1775,7 +1775,6 @@ where id in %s"""
|
||||
else:
|
||||
av_player.maybe_interrupt()
|
||||
|
||||
|
||||
txt = self.mw.prepare_card_text_for_display(txt)
|
||||
txt = gui_hooks.card_will_show(
|
||||
txt, c, "preview" + self._previewState.capitalize()
|
||||
|
@ -17,7 +17,12 @@ from aqt.utils import checkInvalidFilename, getSaveFile, showWarning, tooltip
|
||||
|
||||
|
||||
class ExportDialog(QDialog):
|
||||
def __init__(self, mw: aqt.main.AnkiQt, did: Optional[int] = None, cids: Optional[List[int]] = None):
|
||||
def __init__(
|
||||
self,
|
||||
mw: aqt.main.AnkiQt,
|
||||
did: Optional[int] = None,
|
||||
cids: Optional[List[int]] = None,
|
||||
):
|
||||
QDialog.__init__(self, mw, Qt.Window)
|
||||
self.mw = mw
|
||||
self.col = mw.col
|
||||
|
Loading…
Reference in New Issue
Block a user