Make __main__ work in all scenarios with relative imports

This commit is contained in:
Philipp Hagemeister 2012-11-28 03:55:35 +01:00
parent 9e8056d5a7
commit f1cb5bcad2
3 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Execute with python -m youtube_dl
import youtube_dl