Erste Version
This commit is contained in:
commit
782b1850a3
1641 files changed
+512713
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
|
||||
__all__ = ["Video_AutoInit"]
|
||||
|
||||
|
||||
def Video_AutoInit():
|
||||
"""Called from the base.c just before display module is initialized."""
|
||||
if "Darwin" in platform.platform():
|
||||
if (os.getcwd() == "/") and len(sys.argv) > 1:
|
||||
os.chdir(os.path.dirname(sys.argv[0]))
|
||||
return True
|
||||
Reference in new issue
Block a user