From: Shane Jaroch Date: Tue, 12 Dec 2023 18:04:28 +0000 (-0500) Subject: no f-strings, always remember for this project! X-Git-Tag: v0.2.8.dev0~58 X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=c8c5325a4f6fdb6df736a4b4c2cceb266e74e493;p=nutratech%2Fcli.git no f-strings, always remember for this project! --- diff --git a/ntclient/argparser/funcs.py b/ntclient/argparser/funcs.py index 80291c4..fb4e753 100644 --- a/ntclient/argparser/funcs.py +++ b/ntclient/argparser/funcs.py @@ -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"])