mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04: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):
|
||||
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:
|
||||
super().__init__(parent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user