summaryrefslogtreecommitdiff
path: root/gitnoti.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitnoti.py')
-rwxr-xr-xgitnoti.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitnoti.py b/gitnoti.py
index 3e8b844..09c5281 100755
--- a/gitnoti.py
+++ b/gitnoti.py
@@ -211,7 +211,7 @@ class Bot(irc.IRCClient):
elif len(repo) == 0:
self.msg(target, 'No repo found.')
else:
- self.msg(target, 'Ambiguous name: %s' % (', '.join([os.path.basename(x[0]) for x in repo])))
+ self.msg(target, 'Ambiguous name: %s' % (', '.join([os.path.splitext(os.path.basename(x[0]))[0] for x in repo])))
return None