Move the upload flag to the database, and use the database stored image size rather than going to s3.

This commit is contained in:
Jake Moshenko 2014-05-02 16:59:46 -04:00
parent 21304a5678
commit ef9fe871fc
7 changed files with 35 additions and 36 deletions

View file

@ -80,7 +80,3 @@ class LocalStorage(BaseStorage):
os.remove(path)
except OSError:
pass
def get_size(self, path):
path = self._init_path(path)
return os.path.getsize(path)