aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/core.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-05-12 16:03:42 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-05-12 16:03:42 +0300
commitcfd76e629e9033913544db8d99785ae2dca46e09 (patch)
treec75d8547602b7bedafa2a527165f6cfa0d2afd56 /gsxws/core.py
parentd098a0f3097988758ef28ab48add4c5e262c8ec0 (diff)
downloadpy-gsxws-cfd76e629e9033913544db8d99785ae2dca46e09.tar.gz
py-gsxws-cfd76e629e9033913544db8d99785ae2dca46e09.tar.bz2
py-gsxws-cfd76e629e9033913544db8d99785ae2dca46e09.zip
Migrate products from YAML to JSON
Diffstat (limited to 'gsxws/core.py')
-rw-r--r--gsxws/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/core.py b/gsxws/core.py
index f9d6eb8..86bdd13 100644
--- a/gsxws/core.py
+++ b/gsxws/core.py
@@ -340,7 +340,7 @@ class GsxRequest(object):
"Constructs and submits the final SOAP message"
root = ET.SubElement(self.body, self.obj._namespace + method)
- if method is "Authenticate":
+ if method == "Authenticate":
root.append(self.data)
else:
request_name = method + "Request"