mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Detect the string "dangerzone" in docker output, instead of "localhost/dangerzone"
This commit is contained in:
parent
dd295271f5
commit
0f464dcb0c
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class SettingsWidget(QtWidgets.QWidget):
|
|||
output = subprocess.check_output(
|
||||
[self.common.container_runtime, "image", "ls", "dangerzone"]
|
||||
)
|
||||
if b"localhost/dangerzone" not in output:
|
||||
if b"dangerzone" not in output:
|
||||
self.update_checkbox.setCheckState(QtCore.Qt.Checked)
|
||||
self.update_checkbox.setEnabled(False)
|
||||
|
||||
|
|
Loading…
Reference in a new issue