[Checkins] SVN: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo/demo_app.py fixed handling of demo.html

Andreas Jung andreas at andreas-jung.com
Sat Oct 4 10:17:00 EDT 2008


Log message for revision 91744:
  fixed handling of demo.html
  

Changed:
  U   zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo/demo_app.py

-=-
Modified: zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo/demo_app.py
===================================================================
--- zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo/demo_app.py	2008-10-04 14:09:59 UTC (rev 91743)
+++ zopyx.smartprintng.core/trunk/zopyx/smartprintng/core/demo/demo_app.py	2008-10-04 14:16:59 UTC (rev 91744)
@@ -21,7 +21,7 @@
 class TestContent(object):
     implements(ITestContent)
 
-html = file('demo.html').read()
+html = file(os.path.join(os.path.dirname(__file__, 'demo.html')).read()
 
 # register resources directory for demo purposes 
 from zopyx.smartprintng.core import resources



More information about the Checkins mailing list