Permalink
Browse files

Merge remote-tracking branch 'sagittarian/resolve-symlinks'

  • Loading branch information...
phihag committed Apr 11, 2013
2 parents e8600d6 + 8743974 commit 04f3d551a0b49ffede5467138d56cb3fceacaa1d
Showing with 2 additions and 1 deletion.
  1. +2 −1 youtube_dl/__main__.py
View
@@ -9,7 +9,8 @@
if __package__ is None and not hasattr(sys, "frozen"):
# direct call of __main__.py
import os.path
- sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+ path = os.path.realpath(os.path.abspath(__file__))
+ sys.path.append(os.path.dirname(os.path.dirname(path)))
import youtube_dl

0 comments on commit 04f3d55

Please sign in to comment.