Skip to content

Commit

Permalink
Fix typo in previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee authored Nov 12, 2023
1 parent 6ae4ceb commit c6ac37c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panoptes/pocs/observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def upload_exposure(self, exposure_info, bucket_name=None):

# Remove the local images directory for the upload name and replace with PAN_ID.
images_dir = self.get_config('directories.images', default=Path('~/images')).expanduser().as_posix()
bucket_path = Path(images_path[image_path.find(images_dir + len(images_dir)):] + '/' + str(self.get_config('pan_id')))
bucket_path = Path(image_path[image_path.find(images_dir + len(images_dir)):] + '/' + str(self.get_config('pan_id')))

# Create a separate process for the upload.
upload_process = Process(name=f'ImageUploaderProcess-{exposure_info.image_id}',
Expand Down

0 comments on commit c6ac37c

Please sign in to comment.