Commit 757edaa8 authored by Daniel Brown's avatar Daniel Brown

parakat fixes

parent ea867696
......@@ -104,15 +104,16 @@ class parakat(object):
kat_IFO = None
if hasattr(kat, 'IFO'):
kat.IFO._IFO__kat = None # can't pickle stored kat
kat_IFO = kat.IFO
if hasattr(kat.IFO, "_IFO__kat"):
kat.IFO._IFO__kat = None # can't pickle stored kat
kat_IFO = kat.IFO
self._results.append(self._lview.apply_async(func,
"".join(kat.generateKatScript()),
kat_IFO,
os.getcwd(), *args, **kwargs))
if hasattr(kat, 'IFO'):
if kat_IFO is not None:
kat.IFO._IFO__kat = kat
self._run_count += 1
......
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