changeset 55:8e72dd62cc6a draft

Add tincan.fsroot and tincan.urlroot to the app config.
author David Barts <n5jrn@me.com>
date Fri, 31 May 2019 16:50:02 -0700
parents cb5a6e200c95
children f177756200be
files tincan.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tincan.py	Fri May 31 08:45:39 2019 -0700
+++ b/tincan.py	Fri May 31 16:50:02 2019 -0700
@@ -852,6 +852,8 @@
         sys.path.insert(1, os.path.abspath(lib))
         # Do what we gotta do
         self.app = TinCan()
+        self.app.config['tincan.fsroot'] = os.path.abspath(self.fsroot)
+        self.app.config['tincan.urlroot'] = self.urlroot
         self._launch([])
         return self