diff --git a/app.py b/app.py index d6c1967..0471be9 100755 --- a/app.py +++ b/app.py @@ -126,4 +126,4 @@ def initPage(): if __name__ == "__main__": - app.run(debug=True, port=4998, host='0.0.0.0', threaded=True) + app.run(debug=False, port=4980, host='0.0.0.0', threaded=True) diff --git a/dataHandlerPTT.py b/dataHandlerPTT.py index 5d81ae5..e314dc8 100755 --- a/dataHandlerPTT.py +++ b/dataHandlerPTT.py @@ -272,7 +272,7 @@ def loadPostContents(): def getDefault(startDate, endDate): global defaultDate if (startDate != defaultDate['startDate'] or endDate != defaultDate['endDate']): - loadPostContents + loadPostContents() defaultDate['startDate'] = startDate defaultDate['endDate'] = endDate print('更新預設資料') diff --git a/resource/stopWords.txt b/resource/stopWords.txt index ef7eca0..5a62672 100755 --- a/resource/stopWords.txt +++ b/resource/stopWords.txt @@ -14,6 +14,7 @@ 我 都 就 +會 完整 新聞 標題