diff --git a/KeyGenerator/excel_parser.py b/KeyGenerator/excel_parser.py index f778b09..86e4cd0 100644 --- a/KeyGenerator/excel_parser.py +++ b/KeyGenerator/excel_parser.py @@ -2,7 +2,7 @@ import pandas as pd import json import os -file_path = os.getcwd() + 'PLU+FSMA+list+v1.0.xlsx' +file_path = os.path.join(os.getcwd(), 'PLU+FSMA+list+v1.0.xlsx') sheet_name = 'Non FTL' new_url_base = "https://server-ifps.accurateig.com/assets/commodities/" diff --git a/KeyGenerator/generate_keys.py b/KeyGenerator/generate_keys.py index 85f068d..7ef2236 100644 --- a/KeyGenerator/generate_keys.py +++ b/KeyGenerator/generate_keys.py @@ -11,9 +11,9 @@ from io import BytesIO urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) # --- CONFIGURATION --- -JSON_FILE = os.getcwd() + 'frutas.json' -OUTPUT_DIR = os.getcwd() + 'keychain_cards' -IMG_CACHE_DIR = os.getcwd() + 'image_cache' +JSON_FILE = os.path.join(os.getcwd(), 'frutas.json') +OUTPUT_DIR = os.path.join(os.getcwd(), 'keychain_cards') +IMG_CACHE_DIR = os.path.join(os.getcwd(), 'image_cache') os.makedirs(OUTPUT_DIR, exist_ok=True) os.makedirs(IMG_CACHE_DIR, exist_ok=True) diff --git a/README.md b/README.md index da795f2..741f70b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# SekiPOS v1.0 🍫🥤 +# SekiPOS v1.1 🍫🥤 A reactive POS inventory system for software engineers with a snack addiction. Features real-time UI updates, automatic product discovery via Open Food Facts, and local image caching. @@ -84,6 +84,6 @@ python app.py - Cache user edited pictures - clear edited filed after scanning of new product -## 🥼 Food Dataset +## 🥼 Food Datasets - https://www.ifpsglobal.com/plu-codes-search - https://world.openfoodfacts.org \ No newline at end of file