From f8a2c22e8deb574144a27c6d1c3989171c10808b Mon Sep 17 00:00:00 2001 From: Carl Suster Date: Thu, 4 Apr 2019 17:56:13 +1100 Subject: [PATCH] bpd: fix typo in comment --- beetsplug/bpd/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/bpd/__init__.py b/beetsplug/bpd/__init__.py index 598e2971f..4432ab526 100644 --- a/beetsplug/bpd/__init__.py +++ b/beetsplug/bpd/__init__.py @@ -767,7 +767,7 @@ class Command(object): # by the client (so we can raise ERROR_ARG instead of ERROR_SYSTEM). # Maximum accepted arguments: argspec includes "self" and "conn". max_args = len(argspec.args) - 2 - # Minimum accepted arguments: some arguments might be optional/ + # Minimum accepted arguments: some arguments might be optional. min_args = max_args if argspec.defaults: min_args -= len(argspec.defaults)