Skip to content

Commit d31fb3e

Browse files
committed
fix: state_path omits an encoding
1 parent aa16600 commit d31fb3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def main():
179179
last_export = 0
180180
if since == "last" and os.path.isfile(state_path):
181181
try:
182-
with open(state_path, "r") as f:
182+
with open(state_path, "r", encoding="utf-8") as f:
183183
st = json.load(f)
184184
ts = st.get("lastExportTime")
185185
if ts:

0 commit comments

Comments
 (0)