lpcmanager

4abd4426898c
Parents 7c21ac48b073
Children ee3b02c23d0d
Better heuristics for product name translation
--- a/LPCProjectController.py Fri Feb 22 09:32:15 2019 +0100
+++ b/LPCProjectController.py Fri Feb 22 10:01:28 2019 +0100
@@ -87,7 +87,8 @@
return result
def _Transfer(self):
- if not self._connector.CheckProductID(GetLPCArch().lower()):
+ product_name = GetLPCArch().lower().replace("_","")
+ if not self._connector.CheckProductID(product_name):
message = (_("Product ID doesn't match selected target type.\n"))
dialog = wx.MessageDialog(
self.AppFrame, message, _("Error"), wx.OK | wx.ICON_ERROR)