Search fails on issues with decimals #26

ecec opened this Issue Sep 24, 2012 · 2 comments


None yet
2 participants

ecec commented Sep 24, 2012

Noticed this one while searching for Unwritten 32.5 and 31.5:

Exception in thread Thread-13:
Traceback (most recent call last):
File "C:\Python27\lib\", line 552, in __bootstrap_inner
File "C:\Python27\lib\", line 505, in run
self.__target(_self.__args, *_self._kwargs)
File "C:\Users\Administrator\Desktop\mylar\mylar\", line 555, in sear
foundNZB = search_init(result['ComicName'], result['Issue_Number'], str(Comi
cYear), comic['ComicYear'])
File "C:\Users\Administrator\Desktop\mylar\mylar\", line 81, in searc
findit = NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, nzbprov,
File "C:\Users\Administrator\Desktop\mylar\mylar\", line 323, in NZB

if int(findcomiciss[findloop]) == int(comiss):
ValueError: invalid literal for int() with base 10: '032.5'

For the record, both issues are on Probably not a huge priority at the moment! :)


evilhero commented Sep 24, 2012

No worries - I can see in the code what needs to be fixed for doing it. It'll cause that error on any of the providers, so some code changes on decimalization and it should be good to go. I'll commit the changes later tonight once I get a chance to sit down in a quiet room :)

evilhero was assigned Sep 24, 2012


evilhero commented Jan 19, 2013

This is working now in both dev / master builds.

evilhero closed this Jan 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment