diff options
author | 2019-06-09 02:41:37 +0300 | |
---|---|---|
committer | 2019-06-09 02:41:37 +0300 | |
commit | ff361ddeb5b97dcb912da2faa065ccee20607752 (patch) | |
tree | 80f385f56bd159a75718b2e38f95a4be937785a7 /pomu/util/misc.py | |
parent | Mark handlers as static with to make pylint happy (diff) | |
download | pomu-ff361ddeb5b97dcb912da2faa065ccee20607752.tar.gz pomu-ff361ddeb5b97dcb912da2faa065ccee20607752.tar.bz2 pomu-ff361ddeb5b97dcb912da2faa065ccee20607752.zip |
Some more minor fixes and improvements
Diffstat (limited to 'pomu/util/misc.py')
-rw-r--r-- | pomu/util/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/util/misc.py b/pomu/util/misc.py index de297af..7cb1781 100644 --- a/pomu/util/misc.py +++ b/pomu/util/misc.py @@ -34,7 +34,7 @@ def extract_urls(text): def parse_range(text, max_num=None): """Parses a numeric range (e.g. 1-2,5-16)""" - text = re.sub('\s*-\s*', '-', text) + text = re.sub(r'\s*-\s*', '-', text) subranges = [x.strip() for x in text.split(',')] subs = [] maxint = -1 |