pytroll / pytroll-collectors

Collector modules for Pytroll
GNU General Public License v3.0
3 stars 18 forks source link

Fix bug when naming publisher with config_item #49

Closed hundahl closed 4 years ago

hundahl commented 4 years ago

The gatherer had a problem with the config_items type when using it the the name of the publisher:

Traceback (most recent call last): File "/opt/conda/bin/gatherer.py", line 291, in main() File "/opt/conda/bin/gatherer.py", line 261, in main PUB = publisher.NoisyPublisher("gatherer_" + opts.config_item, port=publish_port, TypeError: can only concatenate str (not "list") to str

I changed how the name is created.

codecov[bot] commented 4 years ago

Codecov Report

Merging #49 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #49   +/-   ##
======================================
  Coverage    4.22%   4.22%           
======================================
  Files          18      18           
  Lines        2885    2885           
======================================
  Hits          122     122           
  Misses       2763    2763

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 77b276d...a71d4f3. Read the comment docs.