Skip to content

Commit

Permalink
fixed save_to_jar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dnoegel committed Feb 21, 2012
1 parent e55a977 commit 2194d80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions csnatch-editor.py
Expand Up @@ -424,9 +424,9 @@ def menu_activate_event(self, menu, user):
if filename:
tmp = tempfile.mkstemp(suffix=".bmp", prefix="csnatch.mapedit.", dir="/tmp")[1]
#~ print tmp
self.save(tmp)
self.save(tmp, set_filename=False)

save_to_jar(tmp, filename, set_filename=False)
save_to_jar(tmp, filename)
elif user == "Quit":
self.window.destroy()
elif user == "Clear map":
Expand Down

0 comments on commit 2194d80

Please sign in to comment.