Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't call get_available_name() from _save(), due to save() already d…

…oing it.
  • Loading branch information...
commit 26e610f6a98884877a636e537f7532b50c90eb04 1 parent d2a8bf4
@isagalaev authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  django_dust/storage.py
View
1  django_dust/storage.py
@@ -93,7 +93,6 @@ def _open(self, name, mode='rb'):
return base.ContentFile(self.transport.get(host, name))
def _save(self, name, content):
- name = self.get_available_name(name)
content.seek(0)
body = content.read()
self._execute(self.transport.put, name, [body])
Please sign in to comment.
Something went wrong with that request. Please try again.