Skip to content

Commit

Permalink
Do not clean WebEngine cache on Qt5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
andfoy committed Oct 11, 2017
1 parent 49bbb60 commit 2808422
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spyder_terminal/widgets/terminalgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ def __init__(self, parent, term_url='http://127.0.0.1:8070',

if WEBENGINE:
self.document = self.page()
self.document.profile().clearHttpCache()
try:
self.document.profile().clearHttpCache()
except AttributeError:
pass
else:
self.document = self.page().mainFrame()

Expand Down

0 comments on commit 2808422

Please sign in to comment.