mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
remove warnings
This commit is contained in:
parent
8ed5d9fdc4
commit
961dbf8569
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ def parse_torrent_ids(args):
|
||||||
addition = [torrent_id]
|
addition = [torrent_id]
|
||||||
if not addition:
|
if not addition:
|
||||||
# handle index ranges i.e. 5:10
|
# handle index ranges i.e. 5:10
|
||||||
match = re.match('^(\d+):(\d+)$', item)
|
match = re.match('^(\\d+):(\\d+)$', item)
|
||||||
if match:
|
if match:
|
||||||
try:
|
try:
|
||||||
idx_from = int(match.group(1))
|
idx_from = int(match.group(1))
|
||||||
|
@ -309,7 +309,7 @@ class Client(object):
|
||||||
version_major = 1
|
version_major = 1
|
||||||
version_minor = 30
|
version_minor = 30
|
||||||
version_changeset = 0
|
version_changeset = 0
|
||||||
version_parser = re.compile('(\d).(\d+) \((\d+)\)')
|
version_parser = re.compile('(\\d).(\\d+) \\((\\d+)\\)')
|
||||||
if hasattr(self.session, 'version'):
|
if hasattr(self.session, 'version'):
|
||||||
match = version_parser.match(self.session.version)
|
match = version_parser.match(self.session.version)
|
||||||
if match:
|
if match:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue