Kaydet (Commit) a1fd1555 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

Test sırasında unutulmuş runtime kontrol noktaları silindi.

üst 83aa0d26
......@@ -552,7 +552,6 @@ py_execute(const char *app, const char *model, const char *method, PyObject *py_
if (fn_script == NULL) oom();
snprintf(fn_script, size, "%s/%s/%s.py", config_dir_scripts, model, app);
fn_script[size - 1] = 0;
printf("Bura geldi\n" );
// Check script existance
if (access(fn_script, R_OK) != 0) {
log_error("Unable to find script: %s\n", fn_script);
......@@ -560,8 +559,6 @@ py_execute(const char *app, const char *model, const char *method, PyObject *py_
free(fn_script);
return -1;
}
printf("Bura geldi 2\n" );
// Load script file
char *code = load_file(fn_script, NULL);
......@@ -571,7 +568,6 @@ py_execute(const char *app, const char *model, const char *method, PyObject *py_
free(fn_script);
return -1;
}
printf("Bura geldi 3\n" );
// Compile script
py_code = Py_CompileString(code, fn_script, Py_file_input);
......
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