Plugins/PluginEricapi.py

changeset 394
da5696492639
parent 308
f25c7e8802b8
child 398
5b5636320dca
child 792
a13346916170
--- a/Plugins/PluginEricapi.py	Sun Jul 18 15:34:37 2010 +0200
+++ b/Plugins/PluginEricapi.py	Tue Jul 20 08:16:16 2010 +0200
@@ -21,6 +21,8 @@
 
 import Utilities
 
+from eric5config import getConfig
+
 # Start-Of-Header
 name = "Ericapi Plugin"
 author = "Detlev Offenbach <detlev@die-offenbachs.de>"
@@ -46,7 +48,7 @@
     """
     exe = 'eric5-api'
     if Utilities.isWindowsPlatform():
-        exe += '.bat'
+        exe = os.path.join(getConfig("bindir"), exe +'.bat')
     
     data = {
         "programEntry"      : True, 

eric ide

mercurial