fix a bug
This commit is contained in:
parent
a3914ba607
commit
f0cb0687cc
|
@ -8,7 +8,8 @@ load_dotenv()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(os.environ["SENTENCES_FILE"], "r") as f:
|
with open(os.environ["SENTENCES_FILE"], "r") as f:
|
||||||
_sentences = f.readlines()
|
_sentences: str = 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}"]
|
||||||
|
|
Loading…
Reference in a new issue