1
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
import os, glob, sys
|
||||
import random
|
||||
import re
|
||||
import os
|
||||
if __name__ == os.path.splitext(os.path.basename(__file__))[0] or __name__ =='__main__':
|
||||
from ConsoleColor import print, console
|
||||
from wildcards import wildcards
|
||||
else:
|
||||
from .ConsoleColor import print, console
|
||||
from .wildcards import wildcards
|
||||
#import wildcards
|
||||
print(__file__)
|
||||
print(os.path.basename(__file__))
|
||||
|
||||
print("wildcards_ComfyUI")
|
||||
#print(os.getcwd())
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ print(
|
||||
print("test", style="bold white on blue")
|
||||
"""
|
||||
import os
|
||||
if __name__ == os.path.splitext(os.path.basename(__file__))[0] :
|
||||
if __name__ == os.path.splitext(os.path.basename(__file__))[0] or __name__ =='__main__':
|
||||
from ConsoleColor import print, console
|
||||
else:
|
||||
from .ConsoleColor import print, console
|
||||
|
||||
Reference in New Issue
Block a user