diff options
author | Chris Oliver <excid3@gmail.com> | 2012-01-19 12:43:37 -0600 |
---|---|---|
committer | Chris Oliver <excid3@gmail.com> | 2012-01-19 12:43:37 -0600 |
commit | 1700265b187bc23d17618df90fa52131b4dd5883 (patch) | |
tree | ad508e5a325b6c65065b2517595095e0dd55ecce /logbot.py | |
parent | 8522959aa90e20e1044a140d55f7c914022de9a6 (diff) | |
download | logbot-1700265b187bc23d17618df90fa52131b4dd5883.tar.xz |
Skip if empty remote filename
Diffstat (limited to 'logbot.py')
-rw-r--r-- | logbot.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -207,6 +207,7 @@ class Logbot(SingleServerIRCBot): remote_fname = "/".join(full_fname.split("/")[1:]) if DEBUG: print repr(remote_fname) + if not remote_fname: continue try: self.ftp.storbinary("STOR %s" % remote_fname, open(full_fname, "rb")) except ftplib.error_perm, e: |