엑셀 열릴때 렉걸리는 현상 수정
#2
by
highnoon1
- opened
Danbooru Prompt Selector/TEST2024/prompt_selector_auto_1215_testv9.py
CHANGED
|
@@ -149,8 +149,8 @@ def show_history():
|
|
| 149 |
# 모든 BytesIO 객체 닫기
|
| 150 |
for img_obj in image_objects:
|
| 151 |
img_obj.close()
|
| 152 |
-
|
| 153 |
-
|
| 154 |
|
| 155 |
print("엑셀 파일에 저장됨")
|
| 156 |
|
|
|
|
| 149 |
# 모든 BytesIO 객체 닫기
|
| 150 |
for img_obj in image_objects:
|
| 151 |
img_obj.close()
|
| 152 |
+
if os.path.exists(f"history_with_images_{start_time}.xlsx"):
|
| 153 |
+
os.startfile(f"history_with_images_{start_time}.xlsx")
|
| 154 |
|
| 155 |
print("엑셀 파일에 저장됨")
|
| 156 |
|