Small fixes for auszahlung.py
This commit is contained in:
@ -45,7 +45,7 @@ def main() -> None:
|
||||
plt.plot(c.keys(), c.values())
|
||||
plt.legend(['\n'.join(a) for a in names], fontsize=8)
|
||||
plt.xlabel('Gradation [°Oe]')
|
||||
plt.ylabel('Betrag [€]')
|
||||
plt.ylabel('Betrag [€/kg]')
|
||||
plt.vlines([55, 68, 73, 84], 0.0, 1.5, colors='black')
|
||||
plt.xlim([50, 120])
|
||||
plt.ylim([0.0, 1.5])
|
||||
|
@ -1438,7 +1438,7 @@ def migrate_payments(in_dir: str, out_dir: str) -> None:
|
||||
}
|
||||
|
||||
azs = data['AuszahlungSorten']
|
||||
for s in sort_map[p['AZNR']]:
|
||||
for s in sort_map.get(p['AZNR'], []):
|
||||
del s['AZNR']
|
||||
del s['ID']
|
||||
if s['Oechsle'] is None:
|
||||
|
Reference in New Issue
Block a user