Skip to content

Commit

Permalink
Add vendor_information parsing for 1.9.1
Browse files Browse the repository at this point in the history
The `vendor_information` system property was missed in adding pretty
parsing to the system properties.  Add this and bump version 1.9.1.
  • Loading branch information
flacjacket committed Sep 16, 2021
1 parent e498fe9 commit 19dcf49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# GNU General Public License for more details.
define([VERSION_MAJOR], [1])
define([VERSION_MINOR], [9])
define([VERSION_FIX], [0])
define([VERSION_FIX], [1])
define([VERSION_NUMBER], VERSION_MAJOR[.]VERSION_MINOR[.]VERSION_FIX)
define([VERSION_SUFFIX], [_master])

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def readme():

setup(
name="amcrest",
version="1.9.0",
version="1.9.1",
description="Python wrapper implementation for Amcrest cameras.",
long_description=readme(),
author="Douglas Schilling Landgraf, Marcelo Moreira de Mello",
Expand Down
4 changes: 2 additions & 2 deletions src/amcrest/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ async def async_system_information(self) -> str:

@property
def vendor_information(self) -> str:
return self._magic_box("getVendor")
return pretty(self._magic_box("getVendor"))

@property
async def async_vendor_information(self) -> str:
return await self._async_magic_box("getVendor")
return await pretty(self._async_magic_box("getVendor"))

@property
def onvif_information(self) -> str:
Expand Down

0 comments on commit 19dcf49

Please sign in to comment.