mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Ensure certifi refresh repeats
This commit is contained in:
parent
d98912ca6b
commit
f2ca87b1d8
1 changed files with 7 additions and 1 deletions
|
@ -1382,7 +1382,13 @@ title="{}" {}>{}</button>""".format(
|
||||||
True,
|
True,
|
||||||
parent=self,
|
parent=self,
|
||||||
)
|
)
|
||||||
self.progress.timer(12 * 60 * 1000, self.refresh_certs, False, parent=self)
|
self.progress.timer(
|
||||||
|
12 * 60 * 1000,
|
||||||
|
self.refresh_certs,
|
||||||
|
repeat=True,
|
||||||
|
requiresCollection=False,
|
||||||
|
parent=self,
|
||||||
|
)
|
||||||
|
|
||||||
def onRefreshTimer(self) -> None:
|
def onRefreshTimer(self) -> None:
|
||||||
if self.state == "deckBrowser":
|
if self.state == "deckBrowser":
|
||||||
|
|
Loading…
Reference in a new issue