mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-15 19:35:07 +00:00
21 lines
517 B
Python
Executable File
21 lines
517 B
Python
Executable File
#!/usr/bin/env python2
|
|
|
|
import site, sys
|
|
|
|
# libpath
|
|
|
|
try:
|
|
if (sys.version_info.major != 2) or (sys.version_info.minor < 7):
|
|
raise Exception("You must run Syncplay with Python 2.7!")
|
|
except AttributeError:
|
|
import warnings
|
|
warnings.warn("You must run Syncplay with Python 2.7!")
|
|
|
|
from syncplay.clientManager import SyncplayClientManager
|
|
from syncplay.utils import blackholeStdoutForFrozenWindow
|
|
|
|
if __name__ == '__main__':
|
|
blackholeStdoutForFrozenWindow()
|
|
SyncplayClientManager().run()
|
|
|