Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:panoptes/POCS into cem40v310-coo…
Browse files Browse the repository at this point in the history
…rds-fix
  • Loading branch information
wtgee committed Nov 12, 2023
2 parents 9e7f966 + c6ac37c commit b890755
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 b890755

Please sign in to comment.