Skip to content

Commit

Permalink
0.13.2 (#155)
Browse files Browse the repository at this point in the history
- Changed default value in HABApp configuration for "wait_for_openhab" to "True"
- Improved readability of exceptions in the logs
- Updated packages astral, pytz, tzlocal, stackprinter and ujson
  • Loading branch information
spacemanspiff2007 authored Jun 18, 2020
1 parent 8df3960 commit f639e3d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion HABApp/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.13.1 Dev'
__version__ = '0.13.2'
2 changes: 1 addition & 1 deletion HABApp/config/_conf_openhab.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class General(ConfigContainer):
False, description='If True HABApp will not change anything on the openHAB instance.'
)
wait_for_openhab: bool = ConfigEntry(
False,
True,
description='If True HABApp will wait for items from the openHAB instance before loading any rules on startup'
)

Expand Down
2 changes: 1 addition & 1 deletion HABApp/core/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def format_exception(e: typing.Union[Exception, typing.Tuple[typing.Any, typing.
tb = []
skip = 0

lines = stackprinter.format(e, truncate_vals=2000, suppressed_paths=SUPPRESSED_PATHS).splitlines()
lines = stackprinter.format(e, line_wrap=0, truncate_vals=2000, suppressed_paths=SUPPRESSED_PATHS).splitlines()
for i, line in enumerate(lines):
if not skip:
for s in SKIP_TB:
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
aiohttp-sse-client==0.1.7
aiohttp==3.6.2
astral==2.1
astral==2.2
bidict==0.19.0
easyco==0.2.2
paho-mqtt==1.5.0
pydantic==1.5.1
pytz==2019.3
stackprinter==0.2.3
tzlocal==2.0.0
pytz==2020.1
stackprinter==0.2.4
tzlocal==2.1
voluptuous==0.11.7
watchdog==0.10.2

# This is optional
ujson==2.0.3
ujson==3.0.0

# Backports
dataclasses;python_version<"3.7"
dataclasses==0.7;python_version<"3.7"

0 comments on commit f639e3d

Please sign in to comment.