diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2012-11-28 03:55:35 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2012-11-28 03:55:35 +0100 |
commit | f1cb5bcad2bf2983b584730164238adcd8fa7e94 (patch) | |
tree | c8ed68b2d920eac5ffc75653e689bae81d175c6a /youtube_dl | |
parent | 9e8056d5a7b6b366874088cd30d23ba4a52d3861 (diff) |
Make __main__ work in all scenarios with relative imports
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/__main__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/__main__.py b/youtube_dl/__main__.py index 8c12bfb64..ccc782bec 100755 --- a/youtube_dl/__main__.py +++ b/youtube_dl/__main__.py @@ -1,5 +1,6 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- + +# Execute with python -m youtube_dl import youtube_dl |