Skip to content

Commit

Permalink
Merge branch 'hotfix/demon_exception_issue'
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed May 6, 2018
2 parents 6bf3759 + b21fccb commit 9be8b7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin_info/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
},
"changelog" : "https://Jeedom-Plugins-Extra.github.io/plugin-teleinfo/#language#/changelog",
"documentation" : "https://Jeedom-Plugins-Extra.github.io/plugin-teleinfo/#language#/",
"pluginVersion" : "2.7.2"
"pluginVersion" : "2.7.3"
}
4 changes: 2 additions & 2 deletions ressources/teleinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def open(self):
# self._ser = serial.Serial(self._device, 1200, bytesize=7, parity = 'E', stopbits=1)
self._log.info("Teleinfo modem successfully opened")
except:
#error = "Error opening Teleinfo modem '%s' : %s" % (self._device, traceback.format_exc())
self._log.error("Error opening Teleinfo modem '%s' : %s" % (self._device, traceback.format_exc()))
error = "Error opening Teleinfo modem '%s' : %s" % (self._device, traceback.format_exc())
self._log.error(error)
raise TeleinfoException(error)

def close(self):
Expand Down

0 comments on commit 9be8b7c

Please sign in to comment.