Skip to content

Commit

Permalink
Fehler bei Schreiben von ausnahmen.txt behoben
Browse files Browse the repository at this point in the history
  • Loading branch information
leuchtum committed Mar 27, 2021
1 parent 5a6cb7a commit feed010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions angelsaechsisch_telegram/data/ausnahmen.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
du
ne
ham
lol
4 changes: 2 additions & 2 deletions angelsaechsisch_telegram/logik.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def putzen(wort):
return len(worte - self.englisch) != anzahl

def schreibe_ausnahme(self, ausnahme):
_schreibe_txt(self.rootpfad + DB_PFAD + AUS_PFAD, ausnahme)
self.__init__(self.rootpfad)
_schreibe_txt(f"{self.pfad}/{DB_PFAD}/{AUS_PFAD}", ausnahme)
self.__init__()


class Antworten():
Expand Down

0 comments on commit feed010

Please sign in to comment.