Skip to content

Commit 626120f

Browse files
authored
Update character_picture.py
1 parent a40dd8d commit 626120f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nonebot_plugin_nikke/commands/character_picture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
current_directory = os.path.dirname(__file__)
15-
json_file_path = os.path.join(current_directory, 'character_data.json')
15+
json_file_path = os.path.join(current_directory, '..', 'json', 'character_data.json')
1616

1717
with open(json_file_path, 'r', encoding='utf-8') as file:
1818
character_data = json.load(file)

0 commit comments

Comments
 (0)