Plugins/PluginEricapi.py

changeset 248
f4561c24989a
parent 96
9624a110667d
child 253
3ccdf551bde7
--- a/Plugins/PluginEricapi.py	Fri May 14 17:23:52 2010 +0200
+++ b/Plugins/PluginEricapi.py	Fri May 14 17:26:38 2010 +0200
@@ -165,8 +165,8 @@
                         root, ext = os.path.splitext(outputFileName)
                         outfile = "%s-%s%s" % (root, progLanguage.lower(), ext)
                 
-                outfile = outfile.replace(project.ppath+os.sep, '')
+                outfile = project.getRelativePath(outfile)
                 if outfile not in project.pdata['OTHERS']:
                     project.pdata['OTHERS'].append(outfile)
                     project.setDirty(True)
-                    project.othersAdded(outfile)
+                    project.othersAdded(outfile)
\ No newline at end of file

eric ide

mercurial