From 37ef7bf26257c98a7d7a333c9b1e440c227fabfe Mon Sep 17 00:00:00 2001 From: Hidden-Warden <70717127+Hidden-Warden@users.noreply.github.com> Date: Sat, 2 Jul 2022 10:55:38 +0200 Subject: [PATCH] v0.7.5 --- MyCards.py | 8 ++++---- settings.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MyCards.py b/MyCards.py index 0c4f03f..3e00c85 100644 --- a/MyCards.py +++ b/MyCards.py @@ -1,5 +1,5 @@ #Version: -#0.7.0 +#0.7.5 ### import os ### Librairie #4 import csv ### .py & Librairie #5 @@ -219,7 +219,7 @@ def ImageRelated(): ListScrennshot=[] ImageNum=0 Activated=True #Was the function called? - path = "Screenshots/" + path = Screenshots_Folder_Path dir_list = os.listdir(path) ## for i in range(0,99): @@ -274,7 +274,7 @@ def ImageNext(): global ImageNum global Activated if Activated==True: - path = "Screenshots/" + path = Screenshots_Folder_Path dir_list = os.listdir(path) if len(Final)>ImageNum+1: print('ok Next') @@ -292,7 +292,7 @@ def ImageBack(): global ImageNum global Activated if Activated==True: - path = "Screenshots/" + path = Screenshots_Folder_Path dir_list = os.listdir(path) if ImageNum>0: print('ok Back') diff --git a/settings.py b/settings.py index 59006eb..e1ea2ce 100644 --- a/settings.py +++ b/settings.py @@ -6,7 +6,7 @@ s_delimiter=";" #Delimiter used in the CSV file (";" / ",") screenshot_type=".png" #Type of screenshot (".png" / ".jpg") adjust_screenshot_size=True #True(Adjust screenshot size) to the frame, False(Keep original size) - +Screenshots_Folder_Path="Screenshots/" #Path to the Screenshots folder | "Screenshots/" default (if in the same folder as the program) | "C:/Folder1/Screenshots-MyCards/" don't forget the "/" at the end and replace all the "\" by "/" in the path first_colonne=5 #The higher the value, the more to the left scnd_colonne=2.2 #The higher the value, the more to the left