diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2017-07-20 10:23:18 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2017-07-20 10:23:18 +0300 |
commit | f013e5b6e505b2368971bada18468b3f9487c7a3 (patch) | |
tree | fae95353de218cf1adee18e521ad5846399c1cc4 | |
parent | newline hotfix (diff) | |
download | pomu-f013e5b6e505b2368971bada18468b3f9487c7a3.tar.gz pomu-f013e5b6e505b2368971bada18468b3f9487c7a3.tar.bz2 pomu-f013e5b6e505b2368971bada18468b3f9487c7a3.zip |
Fixed an off-by-one error
-rw-r--r-- | pomu/source/bugz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/source/bugz.py b/pomu/source/bugz.py index 62916a3..84adfd7 100644 --- a/pomu/source/bugz.py +++ b/pomu/source/bugz.py @@ -77,7 +77,7 @@ class BugzillaSource(): idxs = parse_range(rng, len(items)) if not idxs: return Result.Err() - filtered = [x for idx, x in enumerate(items) if idx in idxs] + filtered = [x for idx, x in enumerate(items) if idx + 1 in idxs] files = [] for idx, item in enumerate(idxs): if isinstance(item, str): |