FEAT: ajoute des balises if True: pour personnaliser le code
This commit is contained in:
@@ -5,6 +5,7 @@ import json
|
|||||||
folders_list = []
|
folders_list = []
|
||||||
|
|
||||||
### CLIPS
|
### CLIPS
|
||||||
|
if True:
|
||||||
root_path = os.path.join("G:\\_PRO\\CLIPS")
|
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(root_path) if f.is_dir() and not f.name.startswith('_')]
|
||||||
folders_list += [ f.path for f in os.scandir(
|
folders_list += [ f.path for f in os.scandir(
|
||||||
@@ -13,6 +14,7 @@ folders_list += [ f.path for f in os.scandir(
|
|||||||
|
|
||||||
|
|
||||||
### COMMERCIAL
|
### COMMERCIAL
|
||||||
|
if True:
|
||||||
root_path = os.path.join("G:\\_PRO\\COMMERCIAL")
|
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('_')]
|
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
|
### DOCU
|
||||||
|
if True:
|
||||||
root_path = os.path.join("G:\\_PRO\\DOCU")
|
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('_')]
|
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
|
### FICTIONS
|
||||||
|
if True:
|
||||||
root_path = os.path.join("G:\\_PRO\\FICTIONS")
|
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('_')]
|
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
|
### WEB
|
||||||
|
if True:
|
||||||
root_path = os.path.join("G:\\_PRO\\WEB")
|
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('_')]
|
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