diff options
| author | tassaron | 2022-05-09 22:03:33 -0400 |
|---|---|---|
| committer | tassaron | 2022-05-09 22:03:33 -0400 |
| commit | 401fbb9e395c266923b2ae46d0a7af14e0bf71fa (patch) | |
| tree | c76387b359d0ab50561ea76a3048dec952a260b7 /src/command.py | |
| parent | 878e4f770ca0b168870106d142a79fdcc35f6544 (diff) | |
rename visualisation to visualization
Diffstat (limited to 'src/command.py')
| -rw-r--r-- | src/command.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/command.py b/src/command.py index da96b6b..7b05591 100644 --- a/src/command.py +++ b/src/command.py @@ -151,14 +151,14 @@ class Command(QtCore.QObject): parser.print_help() quit(1) - self.createAudioVisualisation( + self.createAudioVisualization( input_ if not args.input else args.input, output if not args.output else args.output ) return "commandline" elif args.input and args.output: - self.createAudioVisualisation(args.input, args.output) + self.createAudioVisualization(args.input, args.output) return "commandline" elif args.no_preview: @@ -175,7 +175,7 @@ class Command(QtCore.QObject): return "GUI" - def createAudioVisualisation(self, input, output): + def createAudioVisualization(self, input, output): self.core.selectedComponents = list( reversed(self.core.selectedComponents)) self.core.componentListChanged() @@ -211,7 +211,10 @@ class Command(QtCore.QObject): @QtCore.pyqtSlot() def videoCreated(self): - quit(0) + self.quit(0) + + def quit(self, code): + quit(code) def showMessage(self, **kwargs): print(kwargs['msg']) |
