Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Oliver <excid3@gmail.com>2011-10-22 10:24:12 -0500
committerChris Oliver <excid3@gmail.com>2011-10-22 10:24:12 -0500
commitaa7bfe56aec2d3fcf8dde6ff38599f192937f5f6 (patch)
tree381e8fa9e4c07f083032d26cf6d3df69d1223647
parentde141feeadde08a6d18453820ce23c7d2f6118c1 (diff)
Display filename when uploading
-rw-r--r--logbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/logbot.py b/logbot.py
index 2f6151a..c956940 100644
--- a/logbot.py
+++ b/logbot.py
@@ -206,7 +206,7 @@ class Logbot(SingleServerIRCBot):
full_fname = os.path.join(root, fname)
remote_fname = "/".join(full_fname.split("/")[1:])
- print remote_fname
+ print repr(remote_fname)
try:
self.ftp.storbinary("STOR %s" % remote_fname, open(full_fname, "rb"))
except ftplib.error_perm, e: