diff --git a/src/core/handlers.c b/src/core/handlers.c index 3ca054c..1d2e0a7 100644 --- a/src/core/handlers.c +++ b/src/core/handlers.c @@ -58,7 +58,7 @@ GString *command = g_string_new(""); GString *output = g_string_new(""); - g_string_printf(command, "%s %s 10 %d it", reportScript, days, csvfile); // TODO variable number of expenses, daily ecc + g_string_printf(command, "%s %s 10 it %d", reportScript, csvfile, days); // TODO variable number of expenses, daily ecc fp = popen(command->str,"r"); while( getline(&buf, &cap, fp) != -1 ){