Make __main__ work in all scenarios with relative imports
This commit is contained in:
		
							parent
							
								
									9e8056d5a7
								
							
						
					
					
						commit
						f1cb5bcad2
					
				
					 3 changed files with 9 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,6 @@
 | 
			
		|||
#!/usr/bin/env python
 | 
			
		||||
# -*- coding: utf-8 -*-
 | 
			
		||||
 | 
			
		||||
# Execute with python -m youtube_dl
 | 
			
		||||
 | 
			
		||||
import youtube_dl
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue