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.

16 lines
371 B

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