beremiz

c8cb60bf6c6a
Parents a332f989f0b8
Children 7e31997b2799
Fixed exception when using URI editor for PYRO addresses
--- 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 ''