Fix post des marqueurs
This commit is contained in:
parent
3d295f3a02
commit
3b7d260011
1 changed files with 3 additions and 3 deletions
|
@ -267,19 +267,19 @@ class Piexel:
|
|||
"""
|
||||
Ajoute une langue à un fichier
|
||||
"""
|
||||
return self._get_response('languages/'+str(id)+'/attach', {'value':lang})
|
||||
return self._get_response('languages/'+str(id)+'/attach', {'value':lang}, 'post')
|
||||
|
||||
def add_subtitle(self, id, subtitle):
|
||||
"""
|
||||
Ajoute un sous-titre à un fichier
|
||||
"""
|
||||
return self._get_response('subtitle-languages/'+str(id)+'/attach', {'value':subtitle})
|
||||
return self._get_response('subtitle-languages/'+str(id)+'/attach', {'value':subtitle}, 'post')
|
||||
|
||||
def add_quality(self, id, quality):
|
||||
"""
|
||||
Ajoute une langue à un fichier
|
||||
"""
|
||||
return self._get_response('qualities/'+str(id)+'/attach', {'value':quality})
|
||||
return self._get_response('qualities/'+str(id)+'/attach', {'value':quality}, 'post')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue