FEAT: ajoute des balises if True: pour personnaliser le code
This commit is contained in:
@@ -5,6 +5,7 @@ import json
|
||||
folders_list = []
|
||||
|
||||
### CLIPS
|
||||
if True:
|
||||
root_path = os.path.join("G:\\_PRO\\CLIPS")
|
||||
folders_list += [ f.path for f in os.scandir(root_path) if f.is_dir() and not f.name.startswith('_')]
|
||||
folders_list += [ f.path for f in os.scandir(
|
||||
@@ -13,6 +14,7 @@ folders_list += [ f.path for f in os.scandir(
|
||||
|
||||
|
||||
### COMMERCIAL
|
||||
if True:
|
||||
root_path = os.path.join("G:\\_PRO\\COMMERCIAL")
|
||||
prods = [ f.name for f in os.scandir(root_path) if f.is_dir() and not f.name.startswith('_')]
|
||||
|
||||
@@ -21,6 +23,7 @@ for prod_name in prods:
|
||||
|
||||
|
||||
### DOCU
|
||||
if True:
|
||||
root_path = os.path.join("G:\\_PRO\\DOCU")
|
||||
prods = [ f.name for f in os.scandir(root_path) if f.is_dir() and not f.name.startswith('_')]
|
||||
|
||||
@@ -29,6 +32,7 @@ for prod_name in prods:
|
||||
|
||||
|
||||
### FICTIONS
|
||||
if True:
|
||||
root_path = os.path.join("G:\\_PRO\\FICTIONS")
|
||||
prods = [ f.name for f in os.scandir(root_path) if f.is_dir() and not f.name.startswith('_')]
|
||||
|
||||
@@ -37,6 +41,7 @@ for prod_name in prods:
|
||||
|
||||
|
||||
### WEB
|
||||
if True:
|
||||
root_path = os.path.join("G:\\_PRO\\WEB")
|
||||
folders_list += [ f.path for f in os.scandir(root_path) if f.is_dir() and not f.name.startswith('_')]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user