speed up the process of download for wp backups

This commit is contained in:
usmannasir
2024-10-02 15:54:48 +05:00
parent b4de49c4b7
commit b8452fafe0
6 changed files with 187 additions and 74 deletions

View File

@@ -28,7 +28,7 @@ class SSHServer(multi.Thread):
sshData = ProcessUtilities.outputExecutioner('cat /etc/ssh/sshd_config').split('\n')
for items in sshData:
if items.find('Port') > -1:
if items.find('Port') > -1 and items[0] != '#':
if items[0] == 0:
pass
else: