Update __main__.py

This commit is contained in:
Theelgirl 2020-10-13 14:33:33 +00:00 committed by GitHub
parent 9a42cb9dbf
commit 36e939c451
1 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
import sys
from fvid_python import main
import platform
running_os = platform.system()
if running_os.lower() in ('linux', 'darwin'):
from fvid import main
else:
from fvid.fvid import main
if __name__ == '__main__':
sys.exit(main())
sys.exit(main())