Drug filtering added to listdose #14
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/listdose_drug"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
listdose now supports filtering with drug
(listdose [--drug <drug>] <n>) -- Retrieves your <n> last logged doses, optionally filtered by drug.
Signed-off-by: Pratyush Desai pratyush.desai@liberta.casa
@ -280,0 +287,4 @@
rangecheck = doses[-int(history)]
irc.reply(f"Your last {history} dose(s) are:", private=True)
for number in range(history, 0, -1):
lastdose = doses[-int(number)]
number
should already be an integer, not necessary to cast it with int(), but of course not a problem eitherneither is the
rangecheck = doses[-int(history)]
assignment used.cool :)
e75cdc908d
tobcb385d3e8
New commits pushed, approval review dismissed automatically according to repository settings