Skip to content

Commit 588ebc2

Browse files
authored
Change incorrect literal check (#138)
1 parent 41570cb commit 588ebc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ask-sdk-core/ask_sdk_core/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,6 @@ def _convert_dict_to_list_tuples(self, headers_dict):
146146
for key, values in six.iteritems(headers_dict):
147147
for value in values.split(","):
148148
value = value.strip()
149-
if value is not None and value is not '':
149+
if value is not None and value != '':
150150
headers_list.append((key, value.strip()))
151151
return headers_list

0 commit comments

Comments
 (0)