Small fixes for auszahlung.py

This commit is contained in:
2023-07-21 14:21:14 +02:00
parent ae4d8ea5ad
commit d285e74797
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ def main() -> None:
plt.plot(c.keys(), c.values()) plt.plot(c.keys(), c.values())
plt.legend(['\n'.join(a) for a in names], fontsize=8) plt.legend(['\n'.join(a) for a in names], fontsize=8)
plt.xlabel('Gradation [°Oe]') plt.xlabel('Gradation [°Oe]')
plt.ylabel('Betrag [€]') plt.ylabel('Betrag [€/kg]')
plt.vlines([55, 68, 73, 84], 0.0, 1.5, colors='black') plt.vlines([55, 68, 73, 84], 0.0, 1.5, colors='black')
plt.xlim([50, 120]) plt.xlim([50, 120])
plt.ylim([0.0, 1.5]) plt.ylim([0.0, 1.5])

View File

@ -1438,7 +1438,7 @@ def migrate_payments(in_dir: str, out_dir: str) -> None:
} }
azs = data['AuszahlungSorten'] azs = data['AuszahlungSorten']
for s in sort_map[p['AZNR']]: for s in sort_map.get(p['AZNR'], []):
del s['AZNR'] del s['AZNR']
del s['ID'] del s['ID']
if s['Oechsle'] is None: if s['Oechsle'] is None: