Skip to content

Commit 25871fb

Browse files
author
chenjunjie
committed
fix: Fixed date parsing errors
1 parent a821963 commit 25871fb

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

opendigger_pycli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
22
Awesome CLI for OpenDigger
33
"""
4-
__version__ = "1.0.2"
4+
__version__ = "1.0.3"

opendigger_pycli/dataloaders/utils.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ def load_base_data(
5656
year, month = date.split("-")[:2]
5757
except Exception:
5858
# TODO(chenjunjie): add warning
59-
year, month = (
60-
"0",
61-
"0",
62-
) # If the date is not in the correct format, set it to 0
59+
continue
6360

6461
# value has different types,
6562
# you need to pass in a function to handle it

0 commit comments

Comments
 (0)