summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-03-28 15:32:59 +0800
committerKeuin <[email protected]>2022-03-28 15:32:59 +0800
commite4694e09978320ec326a73cf9c92e7539cc5890c (patch)
tree7207029119830f3de6126716b23fd1a6e67b5c4c
parent94a8afa35169d8a2d85fc0572013abc7dfefa4b4 (diff)
Add comment.
-rw-r--r--database_convert.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/database_convert.py b/database_convert.py
index 356f84c..dcca9ad 100644
--- a/database_convert.py
+++ b/database_convert.py
@@ -1,6 +1,10 @@
import json
import sqlite3
+'''
+Convert legacy Python kimikuri-server's users.json to sqlite3 database used by kimikuri_rs.
+'''
+
# noinspection SqlNoDataSourceInspection
def convert(db_file: str = 'kimikuri.db', json_file: str = 'users.json'):