From 496334a2fa76ca504236bff43083a3269e116b79 Mon Sep 17 00:00:00 2001 From: Neocky Date: Tue, 22 Jun 2021 00:08:57 +0200 Subject: [PATCH] Fixed check with seperatedownloadpath issue Changes: - fixed issue with seperate downloadpath and checking --- src/plugin/plugin_updatechecker.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/plugin/plugin_updatechecker.py b/src/plugin/plugin_updatechecker.py index 6086041..d428435 100644 --- a/src/plugin/plugin_updatechecker.py +++ b/src/plugin/plugin_updatechecker.py @@ -155,11 +155,7 @@ def checkInstalledPackage(inputSelectedObject="all", inputOptionalParam=None): try: for plugin in track(pluginList, description="Checking for updates" ,transient=True, complete_style="bright_yellow"): if not configValues.localPluginFolder: - if configValues.sftp_seperateDownloadPath is True: - pluginFile = f"{configValues.sftp_pathToSeperateDownloadPath}/{plugin}" - else: - pluginFile = f"{configValues.sftp_folderPath}/{plugin}" - + pluginFile = f"{configValues.sftp_folderPath}/{plugin}" if configValues.sftp_useSftp: pluginAttributes = sftp_validateFileAttributes(connection, pluginFile) if pluginAttributes == False: