diff --git a/delete_inactives.py b/delete_inactives.py index 410dc06..0686548 100644 --- a/delete_inactives.py +++ b/delete_inactives.py @@ -36,7 +36,7 @@ def delete_inactives(mailing_db, mailing_db_user, mailing_db_table, query, id_ar print("\n") print("Deleting user " + str(i) + " of " + str(len(id_array)) + " users") print("Deleting user with id " + str(id_array[i]) + ", username: " + username_array[i]) - os.system("RAILS_ENV=production " + rvm_ruby + " " + mastodon_full_path + "bin/tootctl accounts delete " + username_array[i]) + os.system("RAILS_ENV=production " + rvm_ruby + " " + mastodon_full_path + "/bin/tootctl accounts delete " + username_array[i]) delete_user(id_array[i], username_array[i]) i += 1