changeset 236:0bf8fa325316

arnica_slides: bug fix, typo in var
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 02 Sep 2008 11:08:22 +0200
parents 0094dc7c27f3
children 8b80d05224d3
files data/plugin/action/arnica_slides.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/arnica_slides.py	Tue Sep 02 11:04:37 2008 +0200
+++ b/data/plugin/action/arnica_slides.py	Tue Sep 02 11:08:22 2008 +0200
@@ -45,7 +45,7 @@
         image_object.rotate(angle).save(file_name, img_type)
     except IOError:
         # in case of trouble rename to the old file
-        os.rename(tmp_name, file_name)
+        os.rename(tmp_file, file_name)
     else:
         # on success remove the backup file
         os.unlink(tmp_file)