Commit 79f95b94 authored by Sylvain Thery's avatar Sylvain Thery

minor schnapps modif

parent 3826f6ad
......@@ -37,8 +37,9 @@ int main(int argc, char* argv[])
{
QString filename(argv[1]);
QFileInfo fi(filename);
if(fi.exists())
pythonContext.evalFile(fi.filePath());
if (fi.exists())
//pythonContext.evalFile(fi.filePath());
schnapps.loadPythonScriptFromFile(fi.filePath());
}
splash->finish(&schnapps);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment