mambareport.py: update to new report script name, from openmamba-makereport to os-makereport

This commit is contained in:
Silvan Calarco 2023-07-27 13:49:04 +02:00
parent d65d50d2b1
commit 977a2daf39

View File

@ -58,7 +58,7 @@ class GenerateReportThread(QtCore.QThread):
reportFile = os.path.expanduser("~") + '/openmamba-report.txt' reportFile = os.path.expanduser("~") + '/openmamba-report.txt'
self.updateProgressSignal.emit({ 'value': 5, self.updateProgressSignal.emit({ 'value': 5,
'label': _("Generating report...")}) 'label': _("Generating report...")})
result = subprocess.run(['pkexec', 'openmamba-makereport', result = subprocess.run(['pkexec', 'os-makereport',
'\'' + self.parent.welcomePage.reasonLineEdit.displayText() + '\'', '\'' + self.parent.welcomePage.reasonLineEdit.displayText() + '\'',
reportFile ], reportFile ],
stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout=subprocess.PIPE, stderr=subprocess.PIPE)