diff --git a/src/core/handlers.c b/src/core/handlers.c index 3079df2..52f0988 100644 --- a/src/core/handlers.c +++ b/src/core/handlers.c @@ -67,8 +67,6 @@ pclose(fp); - printf("%s\n", output->str); - return output; } @@ -124,7 +122,7 @@ } break; case BOT_CMD_REPORT: - replytext = bot_exec_report("./python/report.sh", "./test2.csv"); + replytext = bot_exec_report("./python/report.sh", bot_get_filename()->str); break; default: g_string_printf(replytext, "Non ho riconosciuto il comando: %s", intext->str);