fnp
/
audio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
unnecessary print
[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