Revert "fix a bug"

This reverts commit f0cb0687cc.
This commit is contained in:
kdh8219 2023-12-09 01:37:27 +09:00
parent 401d2a41a1
commit d321379e8c
Signed by: kdh8219
GPG key ID: 9B901BE907D1862E

View file

@ -8,8 +8,7 @@ load_dotenv()
try: try:
with open(os.environ["SENTENCES_FILE"], "r") as f: with open(os.environ["SENTENCES_FILE"], "r") as f:
_sentences: str = f.readlines() _sentences = f.readlines()
_sentences = _sentences.replace("\\n", "\n")
except: except:
e = sys.exc_info()[1] e = sys.exc_info()[1]
_sentences = [f"에러발생(진짜임): {e}"] _sentences = [f"에러발생(진짜임): {e}"]