summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bugzilla/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzilla/base.py b/bugzilla/base.py
index 82038f7..d923280 100644
--- a/bugzilla/base.py
+++ b/bugzilla/base.py
@@ -522,7 +522,7 @@ class BugzillaBase(object):
if 'contenttype' not in kwargs:
kwargs['contenttype'] = 'application/octet-stream'
kwargs['data'] = self._attachment_encode(f)
- (attachid, mailresults) = self._attachfile(id,kwargs)
+ (attachid, mailresults) = self._attachfile(id,**kwargs)
return attachid
def _attachment_uri(self,attachid):