Skip to content

Commit

Permalink
life command: support by any override default by me
Browse files Browse the repository at this point in the history
  • Loading branch information
synrg committed Mar 23, 2024
1 parent a4a222e commit ca2fa2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dronefly/core/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ def life(self, ctx: Context, *args):
).one()
else:
return "Your iNat user is not known"
elif query.user == "any":
# i.e. override default "by me" when no arguments are given
pass
else:
user = client.users.autocomplete(q=query.user).one()
if user:
Expand Down

0 comments on commit ca2fa2e

Please sign in to comment.