fix a bug

This commit is contained in:
sunwoo1524 2023-12-09 00:00:30 +09:00
parent a3914ba607
commit f0cb0687cc

View file

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