Commit
·
8a7498e
1
Parent(s):
8902f5e
supress debug in gematria.py
Browse files- gematria.py +2 -3
gematria.py
CHANGED
|
@@ -12,8 +12,7 @@ def strip_diacritics(text):
|
|
| 12 |
for char in unicodedata.normalize('NFD', text):
|
| 13 |
if unicodedata.category(char) not in ['Mn', 'Cf']:
|
| 14 |
stripped_text += char
|
| 15 |
-
|
| 16 |
-
logger.info(f"Info: Diakritisches Zeichen '{char}' wird ignoriert.")
|
| 17 |
return stripped_text
|
| 18 |
|
| 19 |
def letter_to_value(letter):
|
|
@@ -150,7 +149,7 @@ def letter_to_value(letter):
|
|
| 150 |
return 0
|
| 151 |
else:
|
| 152 |
# Gib eine spezifische Warnung aus, wenn das Zeichen unbekannt ist
|
| 153 |
-
logger.info(f"Warnung: Unbekanntes Zeichen '{letter}' ignoriert.")
|
| 154 |
return 0
|
| 155 |
|
| 156 |
|
|
|
|
| 12 |
for char in unicodedata.normalize('NFD', text):
|
| 13 |
if unicodedata.category(char) not in ['Mn', 'Cf']:
|
| 14 |
stripped_text += char
|
| 15 |
+
|
|
|
|
| 16 |
return stripped_text
|
| 17 |
|
| 18 |
def letter_to_value(letter):
|
|
|
|
| 149 |
return 0
|
| 150 |
else:
|
| 151 |
# Gib eine spezifische Warnung aus, wenn das Zeichen unbekannt ist
|
| 152 |
+
#logger.info(f"Warnung: Unbekanntes Zeichen '{letter}' ignoriert.")
|
| 153 |
return 0
|
| 154 |
|
| 155 |
|