fnp
/
audio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
paths
[audio.git]
/
src
/
apiclient
/
__init__.py
diff --git
a/src/apiclient/__init__.py
b/src/apiclient/__init__.py
index
07b8123
..
264f030
100644
(file)
--- a/
src/apiclient/__init__.py
+++ b/
src/apiclient/__init__.py
@@
-33,7
+33,7
@@
def api_call(user, path, method='POST', data=None, files=None):
raise ApiError("WL API call error %s, path: %s" % (r.status_code, path))
raise ApiError("WL API call error %s, path: %s" % (r.status_code, path))
-def youtube_call(method, url, params=None, json=None, data=None, resumable_
data
=None):
+def youtube_call(method, url, params=None, json=None, data=None, resumable_
file_path
=None):
from .models import YouTubeToken
yt = YouTubeToken.objects.first()
from .models import YouTubeToken
yt = YouTubeToken.objects.first()
- return yt.call(method, url, params=params, json=json, data=data, resumable_
data=resumable_data
)
+ return yt.call(method, url, params=params, json=json, data=data, resumable_
file_path=resumable_file_path
)