2013-03-23 15:43:05 +01:00
|
|
|
#!/usr/bin/env python
|
2014-03-19 22:44:58 +01:00
|
|
|
# ex:ts=4:sw=4:sts=4:et
|
|
|
|
# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
2013-03-23 15:43:05 +01:00
|
|
|
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__))))
|
|
|
|
|
2014-03-17 17:47:15 +01:00
|
|
|
try:
|
|
|
|
import svtplay_dl
|
2013-03-23 15:43:05 +01:00
|
|
|
|
2014-03-17 17:47:15 +01:00
|
|
|
if __name__ == '__main__':
|
2014-03-19 20:44:38 +01:00
|
|
|
svtplay_dl.main()
|
2014-03-17 17:47:15 +01:00
|
|
|
except KeyboardInterrupt:
|
|
|
|
pass
|