diff options
author | Filippo Valsorda <filippo.valsorda@gmail.com> | 2012-12-07 12:04:52 +0100 |
---|---|---|
committer | Filippo Valsorda <filippo.valsorda@gmail.com> | 2012-12-07 12:04:52 +0100 |
commit | fec89790b19d804eecb7318e5da64dbb1445c7f0 (patch) | |
tree | 373278a777949549a7865c600ae9a3cfe94e83e3 /youtube_dl | |
parent | a5741a3f5e8f2f92951d3d32f0a1badb3028c32f (diff) |
and now, also py2exe compiles fine :) (on Windows)
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__main__.py b/youtube_dl/__main__.py index 0910e9d15..7f8410f2a 100755 --- a/youtube_dl/__main__.py +++ b/youtube_dl/__main__.py @@ -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__)))) |