speed up the process of download for wp backups

This commit is contained in:
usmannasir
2024-10-02 15:54:48 +05:00
parent 37d51aed41
commit e2bf28e79b
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: