Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed location at which the updated files get written.

  • Loading branch information...
commit e9bfb790a59fc27382d921adf9fe1ae30512730c 1 parent d5575e4
@kux kux authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  filertags/signals.py
View
2  filertags/signals.py
@@ -34,7 +34,7 @@ def _get_commented_regions(content):
def _rewrite_file_content(filer_file, new_content):
old_file = filer_file.file.file
storage = filer_file.file.storage
- new_file = storage.open(os.path.join(storage.location, old_file.name), 'w')
+ new_file = storage.open(old_file.name, 'w')
try:
new_file.write(new_content)
finally:
Please sign in to comment.
Something went wrong with that request. Please try again.