Wed, 03 Oct 2018 17:37:40 +0200
Fixed some code style issues.
--- a/Globals/__init__.py Wed Oct 03 17:33:40 2018 +0200 +++ b/Globals/__init__.py Wed Oct 03 17:37:40 2018 +0200 @@ -177,7 +177,7 @@ hpNew = os.path.join(os.path.expanduser("~"), cdn) if os.path.exists(hpNew): # simply delete the old config directory - shutil.rmtree(hpOld, True) + shutil.rmtree(hpOld, True) else: os.rename(hpOld, hpNew)
--- a/WebBrowser/Network/QtHelpSchemeHandler.py Wed Oct 03 17:33:40 2018 +0200 +++ b/WebBrowser/Network/QtHelpSchemeHandler.py Wed Oct 03 17:37:40 2018 +0200 @@ -156,7 +156,6 @@ @param url URL of the requested page @type QUrl """ - if self.__engine.findFile(url).isValid(): data = self.__engine.fileData(url) else:
--- a/install.py Wed Oct 03 17:33:40 2018 +0200 +++ b/install.py Wed Oct 03 17:37:40 2018 +0200 @@ -1116,7 +1116,7 @@ # 1. create desktop shortcuts regName = "Desktop" desktopFolder = os.path.normpath( - os.path.expandvars(getWinregEntry(regName, regPath))) + os.path.expandvars(getWinregEntry(regName, regPath))) for linkName, targetPath, iconPath in windowsDesktopEntries(): linkPath = os.path.join(desktopFolder, linkName) createWindowsShortcut(linkPath, targetPath, iconPath)