def update_points(person_num, x):
config.read("database/allaccounts.ini", encoding = "utf-8")
y = int(c.allaccounts[int(person_num)][2])
y += x
config.set(person_num, "points", str(y))
with open("database/allaccounts.ini", "w") as configfile:
config.write(configfile)