Skip to content

Commit 29bf575

Browse files
committed
fix typo in chmod call
1 parent e75673a commit 29bf575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neoexchange/core/management/commands/lightcurve_extraction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def handle(self, *args, **options):
488488
if "WARNING" not in movie_file:
489489
# Add write permissions to movie file
490490
try:
491-
os.chmod(os.path.join(movie_file), rw_permissions)
491+
os.chmod(movie_file, rw_permissions)
492492
except PermissionError:
493493
pass
494494
# Create DataProduct

0 commit comments

Comments
 (0)