mirror of
https://github.com/Neocky/pluGET.git
synced 2024-04-29 16:12:30 +00:00
Fixed check with seperatedownloadpath issue
Changes: - fixed issue with seperate downloadpath and checking
This commit is contained in:
parent
42be836928
commit
496334a2fa
@ -155,11 +155,7 @@ def checkInstalledPackage(inputSelectedObject="all", inputOptionalParam=None):
|
|||||||
try:
|
try:
|
||||||
for plugin in track(pluginList, description="Checking for updates" ,transient=True, complete_style="bright_yellow"):
|
for plugin in track(pluginList, description="Checking for updates" ,transient=True, complete_style="bright_yellow"):
|
||||||
if not configValues.localPluginFolder:
|
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:
|
if configValues.sftp_useSftp:
|
||||||
pluginAttributes = sftp_validateFileAttributes(connection, pluginFile)
|
pluginAttributes = sftp_validateFileAttributes(connection, pluginFile)
|
||||||
if pluginAttributes == False:
|
if pluginAttributes == False:
|
||||||
|
Loading…
Reference in New Issue
Block a user