You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
340 B

10 years ago
  1. #! /usr/bin/env python
  2. import sys
  3. if __package__ is None and not hasattr(sys, "frozen"):
  4. # direct call of __main__.py
  5. import os.path
  6. path = os.path.realpath(os.path.abspath(__file__))
  7. sys.path.append(os.path.dirname(os.path.dirname(path)))
  8. import youtube_dl_gui
  9. if __name__ == '__main__':
  10. youtube_dl_gui.main()