Drug filtering added to listdose #14
No reviewers
Labels
No Label
Priority: Critical
Priority: High
Priority: Low
Priority: Medium
Status: Pending Merge
Status: Unitiliased
Status: WIP
Type: Bug
Type: Documentation
Type: Enhancement
Type: Feature
Type: Maintenance
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: LimnoriaPlugins/TripSit#14
Loading…
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