clean
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ class LoraLoaderText:
|
||||
|
||||
lora_path = folder_paths.get_full_path("loras", lora_name)
|
||||
if lora_path is None:
|
||||
#print("[red]No lora_path of lora_name [/red] : ", lora_name)
|
||||
print("[{ccolor}]No lora_path of lora_name [/{ccolor}] : ", lora_name)
|
||||
lora_path=getFullPath(lora_name,"loras")
|
||||
if lora_path is None:
|
||||
print("[red]No lora_path of lora_name [/red] : ", lora_name)
|
||||
|
||||
@@ -26,27 +26,27 @@ print()
|
||||
"""
|
||||
|
||||
py_name=os.path.basename(__file__)
|
||||
print("os.path.basename(__file__) : ",py_name, style="bold CYAN")
|
||||
#print("os.path.basename(__file__) : ",py_name, style="bold CYAN")
|
||||
|
||||
absFilePath = os.path.abspath(__file__)
|
||||
print("os.path.abspath(__file__) : " , absFilePath , style="bold CYAN")
|
||||
#print("os.path.abspath(__file__) : " , absFilePath , style="bold CYAN")
|
||||
|
||||
realFilePath = os.path.realpath(__file__)
|
||||
print("os.path.abspath(__file__) : " + realFilePath , style="bold CYAN")
|
||||
#print("os.path.abspath(__file__) : " + realFilePath , style="bold CYAN")
|
||||
|
||||
normpath=os.path.normpath(__file__)
|
||||
print("os.path.normpath(__file__) : " + normpath , style="bold CYAN")
|
||||
#print("os.path.normpath(__file__) : " + normpath , style="bold CYAN")
|
||||
|
||||
subfolder = os.path.dirname(normpath)
|
||||
print("os.path.dirname(normpath) : " + subfolder , style="bold CYAN")
|
||||
#print("os.path.dirname(normpath) : " + subfolder , style="bold CYAN")
|
||||
|
||||
filename = os.path.basename(normpath)
|
||||
print("os.path.basename(normpath) : " + filename , style="bold CYAN")
|
||||
#print("os.path.basename(normpath) : " + filename , style="bold CYAN")
|
||||
|
||||
mainFile = os.path.abspath(sys.modules['__main__'].__file__)
|
||||
print("os.path.abspath(sys.modules\['__main__'].__file__) : " + mainFile ,style="bold CYAN")
|
||||
#print("os.path.abspath(sys.modules\['__main__'].__file__) : " + mainFile ,style="bold CYAN")
|
||||
mainfolder = os.path.dirname(mainFile)
|
||||
print("os.path.dirname(mainFile) : " + mainfolder , style="bold CYAN")
|
||||
#print("os.path.dirname(mainFile) : " + mainfolder , style="bold CYAN")
|
||||
|
||||
def check_name(kind,name,supported_extensions):
|
||||
for ext in supported_extensions:
|
||||
|
||||
Reference in New Issue
Block a user