Skip to content

Commit 9d27b8e

Browse files
authored
Merge pull request #198 from MoorsTech/master
Added str conversion of siteid
2 parents d91e374 + 123d012 commit 9d27b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebaysdk/trading/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def build_request_headers(self, verb):
681681
"X-EBAY-API-DEV-NAME": self.config.get('devid', ''),
682682
"X-EBAY-API-APP-NAME": self.config.get('appid', ''),
683683
"X-EBAY-API-CERT-NAME": self.config.get('certid', ''),
684-
"X-EBAY-API-SITEID": self.config.get('siteid', ''),
684+
"X-EBAY-API-SITEID": str(self.config.get('siteid', '')),
685685
"X-EBAY-API-CALL-NAME": self.verb,
686686
"Content-Type": "text/xml"
687687
}

0 commit comments

Comments
 (0)