====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
development:scripting_examples:python [2014/02/01 17:33] jpfox |
development:scripting_examples:python [2014/02/01 17:35] jpfox [posts_sync.py] |
||
---|---|---|---|
Line 212: | Line 212: | ||
print "newpostmsg", username, lastK+1, ptext | print "newpostmsg", username, lastK+1, ptext | ||
if not options.dryRun: | if not options.dryRun: | ||
+ | try: | ||
twister.newpostmsg(username, lastK+1, ptext) | twister.newpostmsg(username, lastK+1, ptext) | ||
+ | except: | ||
+ | pass | ||
lastK = lastK+1 | lastK = lastK+1 | ||