aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-01-12 15:07:59 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-01-12 15:09:09 +0100
commit7851b37993ad2cb898ca76e34fade492dddeec59 (patch)
treed390fca4c80beb86a915f3feb2130173398fc4b4 /youtube_dl/utils.py
parentd81edc573e35cb5502f2b5e52323b980600c0c8b (diff)
--recode-video option (Closes #18)
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index 8f856ee8c..0e37390a2 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -450,7 +450,8 @@ class PostProcessingError(Exception):
This exception may be raised by PostProcessor's .run() method to
indicate an error in the postprocessing task.
"""
- pass
+ def __init__(self, msg):
+ self.msg = msg
class MaxDownloadsReached(Exception):
""" --max-downloads limit has been reached. """