from ntclient import NUTRA_HOME
-# TODO: create and maintain prefs.json file? See if there's a library for that, lol
-
PREFS_FILE = os.path.join(NUTRA_HOME, "prefs.ini")
os.makedirs(NUTRA_HOME, 0o755, exist_ok=True)
if not os.path.isdir(NUTRA_HOME):
os.makedirs(NUTRA_HOME, 0o755)
print("..DONE!")
+ # TODO: should creating preferences/settings file be handled in persistence module?
# TODO: print off checks, return False if failed
print("USDA db ", end="")
build_ntsqlite()
nt_init()
- print("\nAll checks have passed!")
+ print("\nSuccess! All checks have passed!")
print(
"""
-Nutrient tracker is free software. It comes with NO warranty or guarantee.
+Nutrient Tracker is free software. It comes with NO warranty or guarantee.
You may use it as you please.
-You may make changes, as long as you disclose and publish them.
+You may make changes as long as you disclose and publish them.
"""
)
return 0, True