Skip to content

Commit

Permalink
Merge pull request #89 from dorel14/master
Browse files Browse the repository at this point in the history
Update dev
  • Loading branch information
dorel14 authored Dec 30, 2024
2 parents 45755f1 + f36b48c commit 4b1e4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myhelpers/scpclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def monitor(self, ftpfolder='', localfolder='',archivefolder='', interval=50):

scp.get(remote_path=scpfilename,
local_path=os.path.join(localfolder, f))
logger.info("file downloaded:" + scpfilename)
logger.info("File downloaded successfully.")
if os.environ.get('3CX_FILES_ARCHIVE_OR_DELETE') == 'ARCHIVE':
#ssh.exec_command(f"sudo mv {scpfilename} .old")
sftp.rename(scpfilename,f"{scpfilename}.old")
Expand Down

0 comments on commit 4b1e4dd

Please sign in to comment.