Ergebnisse mit mehreren Tabs rausgeschrieben
This commit is contained in:
+4
-1
@@ -2033,7 +2033,7 @@ class HW():
|
||||
del self._anzahl[item]
|
||||
# with open('HW_Daten.txt', 'w') as convert_file:
|
||||
# convert_file.write(json.dumps(self._anzahl))
|
||||
|
||||
|
||||
def __repr__(self):
|
||||
return repr(self._anzahl)
|
||||
|
||||
@@ -2048,6 +2048,9 @@ class HW():
|
||||
def anzahl(self, partname, default_val = 0):
|
||||
return self._anzahl.get(partname, default_val)
|
||||
|
||||
def get_anzahl(self):
|
||||
return self._anzahl
|
||||
|
||||
def summe_gesamt(self):
|
||||
"""
|
||||
:return: price sum of all given items within self._anzahl
|
||||
|
||||
Reference in New Issue
Block a user