twister

Peer-to-peer microblogging

User Tools

Site Tools


development:scripting_examples:python

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
development:scripting_examples:python [2014/02/01 17:33]
jpfox
development:scripting_examples:python [2014/02/01 17:35] (current)
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
  
development/scripting_examples/python.1391272387.txt.gz ยท Last modified: 2014/02/01 17:33 (external edit)