Commit bd09d410 authored by Jack Jansen's avatar Jack Jansen

When building an applet clear out the tempfile and dir afterwards.

parent 03980373
......@@ -472,6 +472,11 @@ class Editor(W.Window):
pass
template = buildtools.findtemplate()
buildtools.process(template, filename, destname, rsrcname=rsrcname, progress=None)
try:
os.remove(filename)
os.rmdir(tmpdir)
except os.error:
pass
def domenu_gotoline(self, *args):
self.linefield.selectall()
......
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