path python fix

This commit is contained in:
Shiro-Nek0
2026-02-26 02:37:07 -03:00
parent 70c14acaa5
commit c1045b4878
3 changed files with 6 additions and 6 deletions

View File

@@ -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/"

View File

@@ -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)