Skip to content

Commit f36a707

Browse files
committed
fixing a bug in line
1 parent acfd080 commit f36a707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyclowder/extractors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def get_metadata(self, content, resource_type, resource_id, server=None, context
265265
md["context"] = {}
266266
if type(self.extractor_info['contexts'] == list):
267267
if len(self.extractor_info['contexts']) > 0:
268-
if len(self.extractor_info == 1):
268+
if len(self.extractor_info) == 1:
269269
md["context"] = self.extractor_info["contexts"]
270270
else:
271271
# TODO is this necessary? should contexts should always be a list with one dictionary?

0 commit comments

Comments
 (0)