]> Nutra Git (v2) - nutratech/cli.git/commitdiff
no f-strings, always remember for this project!
authorShane Jaroch <chown_tee@proton.me>
Tue, 12 Dec 2023 18:04:28 +0000 (13:04 -0500)
committerShane Jaroch <chown_tee@proton.me>
Tue, 12 Dec 2023 18:04:37 +0000 (13:04 -0500)
ntclient/argparser/funcs.py

index 80291c40bb525f95faaefd65d3575881f1294b3a..fb4e753917aaaca19ebdb6795c5899435f2051cd 100644 (file)
@@ -142,7 +142,7 @@ def calc_1rm(args: argparse.Namespace) -> tuple:
 
     # Print the n=1 average for all three calculations
     _avg_1rm = round(sum(_all[0][1:]) / len(_all[0][1:]), 1)
-    print(f"1RM:    {_avg_1rm}")
+    print("1RM:    %s" % _avg_1rm)
     print()
 
     _table = tabulate(_all, headers=["n", "epl", "brz", "rmds"])