aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/citco_submission.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/citco_submission.py b/python/citco_submission.py
index 9974cd9d..f5fd4f1a 100644
--- a/python/citco_submission.py
+++ b/python/citco_submission.py
@@ -214,7 +214,7 @@ def run():
from lru import LRU
_cache = LRU(128)
- sftp = SftpClient.from_creds("citco", "/outgoing/notifications")
+ sftp = SftpClient.from_creds("citco", folder="/outgoing/notifications")
while True:
try:
conn = dbconn("dawndb")
@@ -229,7 +229,7 @@ def run():
_cache[fname_short] = None
except (SSHException, OSError):
sftp.client.close()
- sftp = SftpClient.from_creds("citco", "/outgoing/notifications")
+ sftp = SftpClient.from_creds("citco", folder="/outgoing/notifications")
time.sleep(60)