Skip to content

Commit

Permalink
add: example.ini
Browse files Browse the repository at this point in the history
#20220318003
  • Loading branch information
YuCheng21 committed Mar 18, 2022
1 parent 0577547 commit 59efb4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[app]
# TargetWeek: 要批改的週數
# Debug: 開啟除錯模式
TargetWeek = week1
Debug = False
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,5 @@ def executor(root, parameters, pattern):
df = pd.DataFrame(buffer)
Path(CSV_FOLDER).mkdir(parents=True, exist_ok=True)
df.to_csv(f'{CSV_FOLDER}/{CSV_FILENAME}', encoding='utf-8')

logging.info(f'process complete')

0 comments on commit 59efb4e

Please sign in to comment.