]> Nutra Git (v1) - nutratech/usda-sqlite.git/commitdiff
unset intentional error
authorShane Jaroch <chown_tee@proton.me>
Sat, 2 Mar 2024 19:25:23 +0000 (14:25 -0500)
committerShane Jaroch <chown_tee@proton.me>
Sat, 2 Mar 2024 19:25:23 +0000 (14:25 -0500)
sql/latest_version.py

index 4a34fe8b7ea235fac38e6fa63d6442b85a250422..4fe02e6e498f1b905a9d99a827527a172ff06444 100644 (file)
@@ -19,7 +19,9 @@ try:
         reader = csv.reader(_r_file)
         rows = list(reader)
 
-    print(rows[-1][15], end="")
+    # Print latest version
+    print(rows[-1][1], end="")
+
 except Exception as exc:
-    # Failed, so we return empty version
+    # Failed, so we print empty version
     pass