aboutsummaryrefslogtreecommitdiff
path: root/src/command.py
diff options
context:
space:
mode:
authortassaron2017-06-23 23:00:24 -0400
committertassaron2017-06-23 23:00:24 -0400
commit680214f5180a12f2250d8e266df9375ce99b9f80 (patch)
tree17ed3a4f73fa3871093193f5cdbb80094f0f4017 /src/command.py
parente92e9d79f95ad67e83074ef318278c3486601eac (diff)
qt5 fixes
also pep8 compliance
Diffstat (limited to 'src/command.py')
-rw-r--r--src/command.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/command.py b/src/command.py
index 1a1e810..2f71f31 100644
--- a/src/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: