Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--logbot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/logbot.py b/logbot.py
index dd75edb..5af885a 100644
--- a/logbot.py
+++ b/logbot.py
@@ -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: