We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d16557 commit bb5928eCopy full SHA for bb5928e
pyclowder/connectors.py
@@ -514,7 +514,7 @@ def register_extractor(self, endpoints):
514
515
headers = {'Content-Type': 'application/json'}
516
data = self.extractor_info
517
- if self.extractor_key is not None and len(self.extractor_key) > 0:
+ if self.extractor_key:
518
data["unique_key"] = self.extractor_key
519
520
for url in endpoints.split(','):
0 commit comments