aboutsummaryrefslogtreecommitdiff
path: root/src/gui/mainwindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/mainwindow.py')
-rw-r--r--src/gui/mainwindow.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/mainwindow.py b/src/gui/mainwindow.py
index da8370d..f60befd 100644
--- a/src/gui/mainwindow.py
+++ b/src/gui/mainwindow.py
@@ -758,15 +758,17 @@ class MainWindow(QtWidgets.QMainWindow):
def showFfmpegCommand(self):
from textwrap import wrap
- from toolkit.ffmpeg import createFfmpegCommand
+ from ..toolkit.ffmpeg import createFfmpegCommand
command = createFfmpegCommand(
self.window.lineEdit_audioFile.text(),
self.window.lineEdit_outputFile.text(),
self.core.selectedComponents
)
- lines = wrap(" ".join(command), 49)
+ command = " ".join(command)
+ log.info(f"FFmpeg command: {command}")
+ lines = wrap(command, 49)
self.showMessage(
- msg="Current FFmpeg command:\n\n %s" % " ".join(lines)
+ msg=f"Current FFmpeg command:\n\n{' '.join(lines)}"
)
def addComponent(self, compPos, moduleIndex):