mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
14 lines
379 B
Python
14 lines
379 B
Python
#!/usr/bin/env python
|
|
# ex:ts=4:sw=4:sts=4:et
|
|
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
|
import sys
|
|
|
|
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__))))
|
|
|
|
import svtplay_dl
|
|
if __name__ == '__main__':
|
|
svtplay_dl.main()
|