Skip to content

Commit ed6310b

Browse files
committed
Fix GitHub actions Segmentation fault of capture script
1 parent e045486 commit ed6310b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/capture.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def __init__(self, img_name: str) -> None:
2929
@Slot()
3030
def _capture_window_img(self) -> None:
3131
for theme in qdarktheme.get_themes():
32+
if theme == "auto":
33+
continue
3234
qdarktheme.setup_theme(theme)
3335
self._gallery.setGeometry(QGuiApplication.primaryScreen().geometry())
3436
self._gallery.grab().save(f"{self._img_name}-{theme}.png")

0 commit comments

Comments
 (0)