path python fix
This commit is contained in:
@@ -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/"
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user