Fix Windows build

This commit is contained in:
Philipp Hörist 2018-04-26 19:16:56 +02:00
parent 707599dd86
commit 379a4b03d7
1 changed files with 2 additions and 2 deletions

View File

@ -89,8 +89,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
PySys_SetArgvEx(__argc, szArglist, 0);
result = PyRun_SimpleString("import sys; import os;"
"sys.frozen=True;"
"import gajim.gajim as g;"
"g.GajimApplication().run(sys.argv);");
"from gajim import gajim;"
"gajim.main();");
Py_Finalize();
return result;
}