Skip to content

Commit 8b7e4ad

Browse files
committed
Tiny changed
1 parent 8e2a33c commit 8b7e4ad

File tree

3 files changed

+94
-75
lines changed

3 files changed

+94
-75
lines changed

main.py

+3
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474
'/telegram/r',
7575
}
7676

77+
78+
# For development mode.
79+
# if `./view/dev.py` is exist, Append the `/dev` path into.
7780
if Path('/app/view/dev.py').exists():
7881
logging.info('view.dev exists')
7982
from view.dev import VIEW_DEV

models/budgetdb.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def new(pid: str, tid: str, uid: str) -> dict[str, Any]:
3636
- ``_id``: Unique budget id.
3737
- ``pid``: Project id.
3838
- ``tid``: Team id.
39-
- ``bid``: This buDget id is from the google spreadsheet by serials in manually.
39+
- ``bid``: This buDget id is from the google spreadsheet
40+
by serials in manually.
4041
- ``name``: Team name.
4142
- ``uid``: User id.
4243
- ``currency``: Now only support in `TWD`, `USD`.

0 commit comments

Comments
 (0)