Browse Source

update script

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
31e3af8313
  1. 5
      contrib/posts_sync.py

5
contrib/posts_sync.py

@ -84,7 +84,10 @@ for i in xrange(len(items)-1,0,-1):
ptext = ptext.replace(":// ","://").replace("# ","#").replace("@ ","@") ptext = ptext.replace(":// ","://").replace("# ","#").replace("@ ","@")
print "newpostmsg", username, lastK+1, ptext print "newpostmsg", username, lastK+1, ptext
if not options.dryRun: if not options.dryRun:
twister.newpostmsg(username, lastK+1, ptext) try:
twister.newpostmsg(username, lastK+1, ptext)
except:
pass
lastK = lastK+1 lastK = lastK+1
if not options.dryRun: if not options.dryRun:

Loading…
Cancel
Save