Skip to content

Commit ea8d693

Browse files
committed
correction pour linux
1 parent a6ffd65 commit ea8d693

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ascii18.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
from PyQt6.QtCore import Qt, QTimer
1212
from PyQt6.QtGui import QCloseEvent, QIcon, QImage, QKeyEvent, QPixmap, QColor, QPainter, QFont, QFontDatabase
1313
from PyQt6.QtWidgets import QApplication, QMainWindow, QLabel, QVBoxLayout, QWidget, QComboBox, QPushButton, QFrame
14-
import qdarktheme
14+
if sys.platform == 'win32':
15+
import qdarktheme
1516

1617
class CameraApp(QMainWindow):
1718
def __init__(self, matrix):

0 commit comments

Comments
 (0)