Bugfix from cato

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1924 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent 8865948e4e
commit 2635244489

@ -14,5 +14,6 @@ def yacy_ppm(word, word_eol, userdata):
for line in urllib.urlopen("http://"+user+":"+password+"@"+host+"/xml/status_p.xml").readlines():
if re.compile("<ppm>").search(line):
xchat.command("me 's YaCy is crawling at "+line.strip().strip("<ppm/>")+" pages per minute.")
return xchat.EAT_ALL
xchat.hook_command("YACY_SHOW",yacy_ppm,help="/yacy_show - shows the current ppm")

Loading…
Cancel
Save