Skip to content

Commit 6ec6770

Browse files
committed
validation removes chance of None
1 parent a19e5bf commit 6ec6770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldclient/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def data_source_update_sink(self) -> Optional[DataSourceUpdateSink]:
547547
return self._data_source_update_sink
548548

549549
def _validate(self):
550-
if self.offline is False and (self.sdk_key is None or self.sdk_key == ''):
550+
if self.offline is False and self.sdk_key == '':
551551
log.warning("Missing or blank SDK key")
552552

553553

0 commit comments

Comments
 (0)