Guest User

Untitled

a guest
May 17th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. from tiddlyweb.config import config, merge_config
  2.  
  3. from tiddlywebwiki.config import config as twwconfig
  4.  
  5. from tiddlywebplugins.instancer.util import get_tiddler_locations
  6.  
  7. from tiddlywebplugins.cecily.instance import store_contents
  8.  
  9.  
  10. merge_config(config, twwconfig)
  11.  
  12. try:
  13. package = __package__
  14. except NameError: # Python 2.5.x
  15. package = __name__.rsplit(".", 1)[0]
  16.  
  17. config["instance_tiddlers"] = get_tiddler_locations(store_contents, package)
Add Comment
Please, Sign In to add comment