Skip to content

Commit

Permalink
Change self.proc.start syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Walsh authored Jan 10, 2017
1 parent 4ad400a commit 0469af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def start_scan(self):

# run brunnhilde.py as QProcess and redirect stdout and stderr to GUI
self.proc = QProcess()
self.proc.start(QStringList() << 'brunnhilde.py' << self.options <<
self.proc.start("brunnhilde.py", QStringList() << self.options <<
self.directorySource.text() << self.destination.text() << self.identifier.text())
self.proc.setProcessChannelMode(QProcess.MergedChannels);
QObject.connect(self.proc, SIGNAL("readyReadStandardOutput()"), self, SLOT("readStdOutput()"));
Expand Down Expand Up @@ -130,7 +130,7 @@ def start_scan(self):

# run brunnhilde.py as QProcess and redirect stdout and stderr to GUI
self.proc = QProcess()
self.proc.start(QStringList() << 'brunnhilde.py' << self.options <<
self.proc.start("brunnhilde.py", QStringList() << self.options <<
self.diskImageSource.text() << self.destination.text() << self.identifier.text())
self.proc.setProcessChannelMode(QProcess.MergedChannels);
QObject.connect(self.proc, SIGNAL("readyReadStandardOutput()"), self, SLOT("readStdOutput()"));
Expand Down

0 comments on commit 0469af1

Please sign in to comment.