diff options
| author | Brianna | 2017-06-24 20:02:14 -0400 |
|---|---|---|
| committer | GitHub | 2017-06-24 20:02:14 -0400 |
| commit | 1bb67d1513122ca7fb02e60a92339bd1a73dbee3 (patch) | |
| tree | bd4497b3332f758da373393bfb58178f536b1b09 /src/command.py | |
| parent | 68ac0cf755c6c3dbcef4abbb934cd1ead2d713c5 (diff) | |
| parent | 4d955c5a06d8d77c968f594a85b71b516919bcfb (diff) | |
Merge pull request #34 from djfun/feature-newgui-qt5
Update to Qt5
Diffstat (limited to '')
| -rw-r--r-- | src/command.py (renamed from command.py) | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/command.py b/src/command.py index 1a1e810..2f71f31 100644 --- a/command.py +++ b/src/command.py @@ -22,9 +22,9 @@ class Command(QtCore.QObject): self.parser = argparse.ArgumentParser( description='Create a visualization for an audio file', epilog='EXAMPLE COMMAND: main.py myvideotemplate.avp ' - '-i ~/Music/song.mp3 -o ~/video.mp4 ' - '-c 0 image path=~/Pictures/thisWeeksPicture.jpg ' - '-c 1 video "preset=My Logo" -c 2 vis layout=classic') + '-i ~/Music/song.mp3 -o ~/video.mp4 ' + '-c 0 image path=~/Pictures/thisWeeksPicture.jpg ' + '-c 1 video "preset=My Logo" -c 2 vis layout=classic') self.parser.add_argument( '-i', '--input', metavar='SOUND', help='input audio file') @@ -113,10 +113,11 @@ class Command(QtCore.QObject): if name.capitalize() in compName: return compName - compFileNames = [ \ - os.path.splitext(os.path.basename( - mod.__file__))[0] \ - for mod in self.core.modules \ + compFileNames = [ + os.path.splitext( + os.path.basename(mod.__file__) + )[0] + for mod in self.core.modules ] for i, compFileName in enumerate(compFileNames): if name.lower() in compFileName: |
