diff --git a/src/gen/plug/_pluginreg.py b/src/gen/plug/_pluginreg.py index fcfb67200..11faab575 100644 --- a/src/gen/plug/_pluginreg.py +++ b/src/gen/plug/_pluginreg.py @@ -797,6 +797,7 @@ class PluginRegister(object): 'TOOL_MODE_GUI': TOOL_MODE_GUI, 'TOOL_MODE_CLI': TOOL_MODE_CLI, 'GRAMPSVERSION': GRAMPSVERSION, + '__file__': os.path.join(dir, filename), }, {}) except ValueError, msg: