Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKOMO committed Sep 18, 2024
1 parent f199a63 commit 4c9df6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
20 changes: 6 additions & 14 deletions src/artisan-linux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,14 @@ EXCLUDES = [
'PyQt6.QtTest',
'PyQt6.QtTextToSpeech',
# the following are required by QtWebEngineWidgets and thus by QtWebEngine for the HTML2PDF export
# 'PyQt6.QtQuick',
# 'PyQt6.QtQml',
# 'PyQt6.OpenGL',
# 'PyQt6.QtWebChannel',
# 'PyQt6.QtPositioning',
# 'PyQt6.QtWebEngineQuick'
'PyQt6.QtQuick',
'PyQt6.QtQml',
'PyQt6.OpenGL',
'PyQt6.QtWebChannel',
'PyQt6.QtPositioning',
'PyQt6.QtWebEngineQuick'
]

'QtQuick',
'QtQuickWidgets',
'QtQml',
'QtQmlModels',
'QtWebChannel',
'QtPositioning',
'QtOpenGL'


a = Analysis(['artisan.py'],
pathex=[path],
Expand Down
3 changes: 1 addition & 2 deletions src/artisanlib/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@
from PyQt6.QtWebEngineWidgets import QWebEngineView # @Reimport @UnresolvedImport @UnusedImport # pylint: disable=import-error,no-name-in-module
from PyQt6.QtWebEngineCore import QWebEngineProfile
QtWebEngineSupport = True
except ImportError as e:
print(e)
except ImportError:
# on the RPi platform there is no native package PyQt-WebEngine nor PyQt6-WebEngine for Raspebarry 32bit
pass
from PyQt6 import sip # @Reimport @UnresolvedImport @UnusedImport
Expand Down

0 comments on commit 4c9df6c

Please sign in to comment.