with open('autodoor.xml', 'rb') as file:
var = xmltodict.parse(file)
df = pd.DataFrame(var)
open_file = var['table']['fillings']['filling']
keys = ['time', 'user_name', 'rfid_key', 'litre', 'type']
for i in open_file:
items = list(map(i.get, keys))
cursor.execute("INSERT INTO benz VALUES (?, ?, ?, ?, ?)", items, )
"INSERT INTO benz VALUES (?, ?, ?, ?, ?)"