Permalink
Browse files

Changed order of arguments to process_light_frame so they made more s…

…ense.
  • Loading branch information...
1 parent f7e0694 commit cbb54b25a40ab9336926a0aa4a1af82d222d2cb4 @themaninthesuitcase committed Jan 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 startrail.py
View
@@ -71,7 +71,7 @@ def create_dark_image(dark_frames):
return dark_image
-def process_light_frame(file_name, image, dark_image, save_intermediate, image_count, save_directory):
+def process_light_frame(file_name, image, dark_image, image_count, save_intermediate, save_directory):
# load up the light frame into an image
light_frame = pdb.gimp_file_load(file_name,"")
@@ -145,7 +145,7 @@ def startrail(frames, use_dark_frames, dark_frames, save_intermediate, save_dire
file_name = os.path.join(frames, file_name)
if file_is_image(file_name):
image_count += 1
- image = process_light_frame(file_name, image, dark_image, save_intermediate, image_count, save_directory)
+ image = process_light_frame(file_name, image, dark_image, image_count, save_intermediate, save_directory)
# show the new image if we managed to make one.
if image == None:

0 comments on commit cbb54b2

Please sign in to comment.