diff --git a/src/gam.py b/src/gam.py index fdee7cf0..28d7bfff 100755 --- a/src/gam.py +++ b/src/gam.py @@ -108,7 +108,7 @@ GM_MAP_USER_ID_TO_NAME = u'ui2n' # GM_Globals = { GM_SYSEXITRC: 0, - GM_GAM_PATH: os.path.dirname(os.path.realpath(__file__)), + GM_GAM_PATH: os.path.dirname(os.path.realpath(__file__)) if os.name != u'nt' else os.path.dirname(sys.executable), GM_WINDOWS: os.name == u'nt', GM_SYS_ENCODING: sys.getfilesystemencoding() if os.name == u'nt' else u'utf-8', GM_BATCH_QUEUE: None,