Make __main__ work in all scenarios with relative imports
parent
9e8056d5a7
commit
f1cb5bcad2
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import youtube_dl
|
||||
|
||||
if __name__ == '__main__':
|
||||
youtube_dl.main()
|
Loading…
Reference in New Issue