diff --git a/Manager/product_manager.py b/Manager/product_manager.py index 224d5b4..660f611 100644 --- a/Manager/product_manager.py +++ b/Manager/product_manager.py @@ -17,6 +17,8 @@ class ProductManager: save_config(config) except: pass + else: + self.cur_product_id = config.get('product_id', '') def setCurProductId(self, id): self.cur_product_id = id