diff -r d51af006fa6b -r 64d8f52bc8c8 Beremiz_service.py --- a/Beremiz_service.py Fri Aug 11 15:18:19 2017 +0300 +++ b/Beremiz_service.py Mon Aug 14 19:13:01 2017 +0300 @@ -306,7 +306,7 @@ def OnTaskBarChangeInterface(self, evt): ip_addr = self.pyroserver.ip_addr ip_addr = '' if ip_addr is None else ip_addr - dlg = ParamsEntryDialog(None, _("Enter the IP of the interface to bind"), defaultValue=ip_addr) + dlg = ParamsEntryDialog(None, _("Enter the IP of the interface to bind"), defaultValue=ip_addr) dlg.SetTests([(re.compile('\d{1,3}(?:\.\d{1,3}){3}$').match, _("IP is not valid!")), ( lambda x :len([x for x in x.split(".") if 0 <= int(x) <= 255]) == 4, _("IP is not valid!")) ])