summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Dohnal <zdohnal@redhat.com>2020-01-31 13:17:05 +0100
committerDidier Raboud <odyx@debian.org>2020-06-24 22:26:12 +0200
commitaffbf30c35fa15e500fb3da92c948ed6daaefc55 (patch)
tree7fe351ed9f04309d464ef7c58d68e82a5de455b7
parent460fa1bfaaf9f91ad045757561e1fa64422297a2 (diff)
hp-firmware:NameError: name 'INTERACTIVE_MODE4' is not defined
Origin: https://src.fedoraproject.org/rpms/hplip/blob/master/f/hplip-typo.patch Gbp-Pq: Name 0057-hp-firmware-NameError-name-INTERACTIVE_MODE4-is-not-.patch
-rwxr-xr-xfirmware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware.py b/firmware.py
index 33e044dd8..2dad8cf23 100755
--- a/firmware.py
+++ b/firmware.py
@@ -99,7 +99,7 @@ try:
if mode == GUI_MODE and (ui_toolkit == 'qt4' or ui_toolkit == 'qt5'):
if not utils.canEnterGUIMode4():
log.error("%s -u/--gui requires Qt4/Qt5 GUI support. Entering interactive mode." % __mod__)
- mode = INTERACTIVE_MODE4
+ mode = INTERACTIVE_MODE
elif mode == GUI_MODE and ui_toolkit == 'qt3':
if not utils.canEnterGUIMode():