We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1852d0f + dd96064 commit 44dcb8fCopy full SHA for 44dcb8f
1 file changed
asana/resources/attachments.py
@@ -6,5 +6,5 @@ class Attachments(_Attachments):
6
7
def create_on_task(self, task_id, file_content, file_name, file_content_type=None, **options):
8
"""Upload an attachment for a task. Accepts a file object or string, file name, and optional file Content-Type"""
9
- path = '/tasks/%d/attachments' % (task_id)
+ path = '/tasks/%s/attachments' % (task_id)
10
return self.client.request('post', path, files=[('file', (file_name, file_content, file_content_type))], **options)
0 commit comments