logo changes

This commit is contained in:
Samuel Lazareanu
2023-04-18 19:43:58 +03:00
parent 4730bfcc21
commit 723830692e
4 changed files with 15 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
import json
import os
def get_data(json_file):
@@ -6,4 +7,10 @@ def get_data(json_file):
jsonData = json.load(f)
verses: str = jsonData['verses']
refs: str = jsonData['references']
return verses, refs
return verses, refs
def txt_to_json(text_file, output_folder):
# TODO FINISH TEXT TO JSON
with open(f'{text_file}', 'r', encoding='utf-8') as f:
jsonData = json.load(f)