syncplay/syncplayClient.py

21 lines
535 B
Python
Executable File

#!/usr/bin/env python2
import site, sys
# libpath
try:
if (sys.version_info.major != 3) or (sys.version_info.minor < 5):
raise Exception("You must run Syncplay with Python 3.5 or newer!")
except AttributeError:
import warnings
warnings.warn("You must run Syncplay with Python 3.5 or newer!")
from syncplay.clientManager import SyncplayClientManager
from syncplay.utils import blackholeStdoutForFrozenWindow
if __name__ == '__main__':
blackholeStdoutForFrozenWindow()
SyncplayClientManager().run()