Skip to content

Commit bb5928e

Browse files
max-zillarobkooper
andauthored
Update pyclowder/connectors.py
Co-authored-by: Rob Kooper <[email protected]>
1 parent 7d16557 commit bb5928e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyclowder/connectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def register_extractor(self, endpoints):
514514

515515
headers = {'Content-Type': 'application/json'}
516516
data = self.extractor_info
517-
if self.extractor_key is not None and len(self.extractor_key) > 0:
517+
if self.extractor_key:
518518
data["unique_key"] = self.extractor_key
519519

520520
for url in endpoints.split(','):

0 commit comments

Comments
 (0)