fix
[audio.git] / apps / archive / utils.py
1 from django.core.files.uploadedfile import UploadedFile
2
3 class ExistingFile(UploadedFile):
4
5     def __init__(self, path, *args, **kwargs):
6         self.path = path
7         return super(ExistingFile, self).__init__(*args, **kwargs)
8
9     def temporary_file_path(self):
10         return self.path
11
12     def close(self):
13         pass