mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	and now, also py2exe compiles fine :) (on Windows)
This commit is contained in:
		| @@ -6,7 +6,7 @@ | ||||
|  | ||||
| import sys | ||||
|  | ||||
| if __package__ is None: | ||||
| if __package__ is None and not hasattr(sys, "frozen"): | ||||
|     import os.path | ||||
|     sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Filippo Valsorda
					Filippo Valsorda