Skip to content

Commit

Permalink
fix typo in chmod call
Browse files Browse the repository at this point in the history
  • Loading branch information
jchate6 committed Nov 18, 2021
1 parent e75673a commit 29bf575
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def handle(self, *args, **options):
if "WARNING" not in movie_file:
# Add write permissions to movie file
try:
os.chmod(os.path.join(movie_file), rw_permissions)
os.chmod(movie_file, rw_permissions)
except PermissionError:
pass
# Create DataProduct
Expand Down

0 comments on commit 29bf575

Please sign in to comment.