Skip to content

Commit b5dcb75

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

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
@@ -650,7 +650,7 @@ def __init__(self, extractor_name, extractor_info,
650650
else:
651651
self.rabbitmq_queue = rabbitmq_queue
652652
self.extractor_key = extractor_key
653-
if extractor_key is not None and len(extractor_key) > 0:
653+
if extractor_key:
654654
self.rabbitmq_queue = "private.%s.%s" % (extractor_key, self.rabbitmq_queue)
655655
self.channel = None
656656
self.connection = None

0 commit comments

Comments
 (0)