fix a bug
Browse files
Rodin.py
CHANGED
|
@@ -123,7 +123,7 @@ def load_image(img_path):
|
|
| 123 |
return image_bytes
|
| 124 |
|
| 125 |
def log(level, info_text):
|
| 126 |
-
print(f"[ {level} ] - {time.strftime(
|
| 127 |
|
| 128 |
class Generator:
|
| 129 |
def __init__(self, user_id, password) -> None:
|
|
|
|
| 123 |
return image_bytes
|
| 124 |
|
| 125 |
def log(level, info_text):
|
| 126 |
+
print(f"[ {level} ] - {time.strftime('%Y%m%d_%H%M%S', time.localtime())} - {info_text}")
|
| 127 |
|
| 128 |
class Generator:
|
| 129 |
def __init__(self, user_id, password) -> None:
|