Fix version merge

This commit is contained in:
pvizeli 2017-07-31 11:49:16 +02:00
commit 4c122a0630
4 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,7 @@ class Data(JsonConfig):
addon_config[ATTR_LOCATON] = str(addon.parent)
self._cache[addon_slug] = addon_config
except OSError:
except (OSError, json.JSONDecodeError):
_LOGGER.warning("Can't read %s", addon)
except vol.Invalid as ex:

View File

@ -1,7 +1,7 @@
"""Const file for HassIO."""
from pathlib import Path
HASSIO_VERSION = '0.49'
HASSIO_VERSION = '0.50'
URL_HASSIO_VERSION = ('https://raw.githubusercontent.com/home-assistant/'
'hassio/master/version.json')

View File

@ -48,7 +48,7 @@ class Hardware(object):
"""Return all disk devices."""
dev_list = set()
for device in self.context.list_devices(subsystem='block'):
if 'ID_VENDOR' in device:
if device.device_node.startswith('/dev/sd'):
dev_list.add(device.device_node)
return list(dev_list)

View File

@ -1,5 +1,5 @@
{
"hassio": "0.49",
"hassio": "0.50",
"homeassistant": "0.50",
"resinos": "1.0",
"resinhup": "0.3",