diff options
author | Chris Oliver <excid3@gmail.com> | 2011-10-22 11:10:59 -0500 |
---|---|---|
committer | Chris Oliver <excid3@gmail.com> | 2011-10-22 11:10:59 -0500 |
commit | b8b847fb8816b6b67bd476f279b1e79bc0678b09 (patch) | |
tree | d0cf887dc7524cd12e794f55df37f422c36b0c45 /logbot.py | |
parent | aa7bfe56aec2d3fcf8dde6ff38599f192937f5f6 (diff) | |
download | logbot-b8b847fb8816b6b67bd476f279b1e79bc0678b09.tar.xz |
Removed old configs and added debug to file upload
Diffstat (limited to 'logbot.py')
-rw-r--r-- | logbot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -206,7 +206,7 @@ class Logbot(SingleServerIRCBot): full_fname = os.path.join(root, fname) remote_fname = "/".join(full_fname.split("/")[1:]) - print repr(remote_fname) + if DEBUG: print repr(remote_fname) try: self.ftp.storbinary("STOR %s" % remote_fname, open(full_fname, "rb")) except ftplib.error_perm, e: |