Igor E. Novikov
-
2019-08-18
- status: open --> closed
- Group: --> v1.0 (example)
Hi
just seen in plugins you overwrite the file object
def __call__(self, document, filename, file = None, options = None):
if options is None:
options = {}
try:
module = self.load_module()
except:
warn_tb(INTERNAL, 'When importing plugin %s', self.module_name)
raise SketchError(_("Cannot load filter %(name)s")
% {'name':self.module_name})
if file is None:
file = open(filename, 'w')
close = 1