1

fix: svn command

This commit is contained in:
diSabler
2014-06-12 16:08:08 +04:00
parent 7b02b6fff5
commit 0cefbbad6a

View File

@@ -27,7 +27,7 @@ def svn_get(type, jid, nick,text):
count,revn = 1,0
if '-v' in text.split(): text,verb = reduce_spaces_all(text.replace('-v','')),True
else: verb = False
text = ''.join(re.findall('[-a-z/:.0-9]+', text, re.S+re.I+re.U))
text = ''.join(re.findall('[-a-z\/\:\.0-9\ ]+', text, re.S+re.I+re.U))
if ' ' in text:
text = text.split(' ')
url = text[0]