diff -r 0f2e5303f212 -r f0a040f1de1b Beremiz_service.py --- a/Beremiz_service.py Tue Oct 09 11:43:39 2018 +0300 +++ b/Beremiz_service.py Tue Oct 09 11:56:45 2018 +0300 @@ -328,7 +328,7 @@ 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.SetTests([(re.compile('\d{1,3}(?:\.\d{1,3}){3}$').match, _("IP is not valid!")), + dlg.SetTests([(re.compile(r'\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!"))]) if dlg.ShowModal() == wx.ID_OK: