diff --git a/LohnRechner/lohn_calc.py b/LohnRechner/lohn_calc.py index 7a1c384..1e6db0d 100644 --- a/LohnRechner/lohn_calc.py +++ b/LohnRechner/lohn_calc.py @@ -6,7 +6,7 @@ import shelve, os class steuer_rechner: def __init__(self, lohn_eingabe = int) -> None: self.lohneingabe = lohn_eingabe - self.data_datei = os.path.dirname(os.path.realpath(__file__)) + os.sep + "data" + y = os.path.dirname(os.path.realpath(__file__)) + os.sep + "data" self.month = ['Jan', 'Feb', 'Mae', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'] if not os.path.exists(self.data_datei): month_dict = dict.fromkeys(self.month, 0)