docfile pdf path fixed
authorlbessard
Wed, 05 Mar 2008 10:05:12 +0100
changeset 125 13d45f7e0248
parent 124 b9aba2d44b3e
child 126 034979cb02b0
docfile pdf path fixed
plugger.py
--- a/plugger.py	Wed Mar 05 10:04:28 2008 +0100
+++ b/plugger.py	Wed Mar 05 10:05:12 2008 +0100
@@ -526,7 +526,7 @@
             - a virtual slave node to simulate output block
             """)
             logger.write("\nInfo: For this demo, %s plugin has some special methods to run external programs.\nThese methods are defined in methods.py\n" % (PlugName or "Root"))
-            docclass.docpdf.open_pdf(os.path.join(base_folder,"beremiz","doc","manual_beremiz.pdf"),pagenum=20)
+            docclass.docpdf.open_pdf(os.path.join(os.path.split(__file__)[0], "doc", "manual_beremiz.pdf"), pagenum=20)
             execfile(methode_name)
 
         # Get the base xml tree