beremiz
Clone
Summary
Browse
Changes
Graph
Fixed exception when using URI editor for PYRO addresses
2019-04-23, Edouard Tisserant
c8cb60bf6c6a
Parents
a332f989f0b8
Children
7e31997b2799
Fixed exception when using URI editor for PYRO addresses
1 files changed, 3 insertions(+), 2 deletions(-)
+3
-2
connectors/PYRO_dialog.py
--- a/connectors/PYRO_dialog.py Fri Apr 19 13:11:42 2019 +0200
+++ b/connectors/PYRO_dialog.py Tue Apr 23 11:00:37 2019 +0200
@@ -40,8 +40,9 @@
template = "{host}"
if fields['port']:
template += ":{port}"
- if fields['ID']:
- template += "#{ID}"
+ if self.EnableIDSelector:
+ if fields['ID']:
+ template += "#{ID}"
return template.format(**fields)
return ''