File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -265,8 +265,6 @@ def data_to_sqlite(
265265 dt for dt in language_data_type_dict [lang ] if dt != "translations"
266266 ]
267267
268-
269-
270268 languages_capitalized = [lang .capitalize () for lang in languages ]
271269 print (
272270 f"Creating/Updating SQLite databases for the following languages: { ', ' .join (languages_capitalized )} "
@@ -286,7 +284,6 @@ def data_to_sqlite(
286284 / f"{ get_language_iso (lang ).upper ()} LanguageData.sqlite"
287285 )
288286 if db_file .exists ():
289- print ("ovarger" , overwrite )
290287 if not overwrite :
291288 answer = questionary .confirm (
292289 f"SQLite file { db_file } already exists.\n Do you want to overwrite it?"
@@ -304,8 +301,6 @@ def data_to_sqlite(
304301 print (f"Database for { lang } { maybe_over } written and connection made." )
305302
306303 for dt in language_data_type_dict [lang ]:
307-
308-
309304 print (f"Creating/Updating { lang } { dt } table..." )
310305 json_file_path = Path (input_file ) / lang / f"{ dt } .json"
311306
@@ -368,8 +363,6 @@ def data_to_sqlite(
368363
369364 connection .commit ()
370365
371-
372-
373366 connection .close ()
374367 print (f"{ lang .capitalize ()} database processing completed." )
375368
You can’t perform that action at this time.
0 commit comments