From 31e3af8313e491b97cb18084be416bd2f639ef1e Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 31 Jan 2014 17:15:41 -0200 Subject: [PATCH] update script --- contrib/posts_sync.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/posts_sync.py b/contrib/posts_sync.py index 29418690..e969c8aa 100755 --- a/contrib/posts_sync.py +++ b/contrib/posts_sync.py @@ -84,7 +84,10 @@ for i in xrange(len(items)-1,0,-1): ptext = ptext.replace(":// ","://").replace("# ","#").replace("@ ","@") print "newpostmsg", username, lastK+1, ptext if not options.dryRun: - twister.newpostmsg(username, lastK+1, ptext) + try: + twister.newpostmsg(username, lastK+1, ptext) + except: + pass lastK = lastK+1 if not options.dryRun: