Skip to content

Commit 77e57f4

Browse files
jpgimenezeli-darkly
authored andcommitted
compare sdk key value, not identity (#121)
1 parent ec2caf9 commit 77e57f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldclient/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def set_sdk_key(sdk_key):
6868
sdk_key_changed = False
6969
try:
7070
__lock.rlock()
71-
if sdk_key is __config.sdk_key:
71+
if sdk_key == __config.sdk_key:
7272
log.info("New sdk_key is the same as the existing one. doing nothing.")
7373
else:
7474
sdk_key_changed = True

0 commit comments

Comments
 (0)