mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
opti
This commit is contained in:
parent
60b64948f9
commit
425727ef20
@ -647,7 +647,9 @@ class auto_select_webview(QWidget):
|
|||||||
|
|
||||||
def clearcache(self):
|
def clearcache(self):
|
||||||
if self.lastcachehtml and os.path.exists(self.lastcachehtml):
|
if self.lastcachehtml and os.path.exists(self.lastcachehtml):
|
||||||
os.remove(self.lastcachehtml)
|
lastcachehtml = self.lastcachehtml
|
||||||
|
self.lastcachehtml = None
|
||||||
|
os.remove(lastcachehtml)
|
||||||
|
|
||||||
def __init__(self, parent) -> None:
|
def __init__(self, parent) -> None:
|
||||||
super().__init__(parent)
|
super().__init__(parent)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user