Closed GoogleCodeExporter closed 8 years ago
Даже вот так:
Index: pyvkt_commands.py
===================================================================
--- pyvkt_commands.py (revision 153)
+++ pyvkt_commands.py (working copy)
@@ -595,7 +595,7 @@
temp={}
temp['text']=string.Template("$from ($v_id@$tjid) $date:\n$text")
temp['audio']=string.Template("$from ($v_id@$tjid) $date:\n$desc\n(
$dlink )")
- temp['graffity']=string.Template(u"$from ($v_id@$tjid)
$date:\nГраффити
( $dlink )")
+ temp['graffiti']=string.Template(u"$from ($v_id@$tjid)
$date:\nГраффити
( $dlink )")
temp['video']=string.Template(u"$from ($v_id@$tjid)
$date:\nВидео:'$desc'\n( $link )\nМиниатюра:
$thumb\nСкачать: $dlink")
temp['photo']=string.Template(u"$from ($v_id@$tjid)
$date:\nФотография:'$desc'\n( $link )\nМиниатюра: $thumb")
temp['unknown']=string.Template("$from ($v_id@$tjid) $date:\n[error:
cant parse]")
@@ -604,7 +604,7 @@
msg="%s\n-
%s"%(msg,temp[m['type']].safe_substitute(m,tjid='pyvk-t.eqx.su'))
except KeyError:
msg="%s\n-
%s"%(msg,temp['unknown'].substitute(m,tjid='pyvk-t.eqx.su'))
- return {"status":"completed","title":self.name,'message':msg}
+ return
{"status":"completed","title":self.name,'message':msg.replace('<br>','\n')}
else:
Original comment by lawc...@gmail.com
on 11 Jun 2009 at 7:38
Issue 63 has been merged into this issue.
Original comment by tishka17
on 30 Jun 2009 at 5:40
спасибо, применил с кое-какими изменениями.
Original comment by tishka17
on 30 Jun 2009 at 5:57
Original comment by tishka17
on 30 Jun 2009 at 5:57
Original issue reported on code.google.com by
lawc...@gmail.com
on 11 Jun 2009 at 7:18