1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

rename mode to channel

This commit is contained in:
Pascal Vizeli
2018-03-24 22:01:13 +01:00
parent 45288a2491
commit 0a68698912
6 changed files with 30 additions and 30 deletions

View File

@@ -2,7 +2,7 @@
import aiohttp
from .const import MODE_DEV
from .const import CHANNEL_DEV
from .config import CoreConfig
from .docker import DockerAPI
from .misc.dns import DNSForward
@@ -53,7 +53,7 @@ class CoreSys(object):
@property
def dev(self):
"""Return True if we run dev modus."""
return self._updater.mode == MODE_DEV
return self._updater.channel == CHANNEL_DEV
@property
def loop(self):