The code.ill.fr has been recreated and upgraded with the latest version this weekend, If you encounter any problem please inform the Helpdesk.

Commit 4c5cdafb authored by eric pellegrini's avatar eric pellegrini
Browse files

Updated the IJob class with the new path set for MDANSE macros directory

parent 7fe2ef67
......@@ -465,11 +465,8 @@ class IJob(Configurable):
if REGISTRY['job'].has_key(shortname):
raise KeyError('A job with %r name is already stored in the registry' % shortname)
from MDANSE import PREFERENCES
macrosDir = PREFERENCES["macros_directory"].get_value()
templateFile = os.path.join(macrosDir,"%s.py" % classname)
templateFile = os.path.join(PLATFORM.macros_directory(),"%s.py" % classname)
try:
f = open(templateFile,'w')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment