Browse Source

parse channels config as a list

master
HgO 2 years ago
parent
commit
843c94ef96
  1. 3
      files/murmur/scripts/mice.py

3
files/murmur/scripts/mice.py

@ -11,6 +11,7 @@ import yaml
import Murmur
CONFIG_SEARCH_PATH = [".", "/etc"]
CONFIG_DEFAULT_NAME = "mice.yml"
@ -271,7 +272,7 @@ class Config:
def parse_channels(self) -> Channel:
channels = []
for channel_dict in self._data["channels"]:
for channel_dict in self._data:
channel = Channel.from_dict(channel_dict)
channels.append(channel)

Loading…
Cancel
Save