Skip to content

Conversation

@nasifimtiazohi
Copy link

There are mainly 4 fixes made here -

  1. fixing the score bug. The code was assigning a zero score to a project if there was no existing info in the reaper_results table on that project. Now, it's re-calculating the score at a later point with the newfound attribute values and inserting the correct score in the database.

  2. fixing the timeout bug: It was reading timeout correctly from the config file only during the first attribute. From the second attribute, it was getting a zero value. As a quick fix, I'm hardcoding the timeout value (21600 s) in the code for now.

  3. replaces a deprecated method for html response object.

  4. there was a problem in installing mysql-connector-python using pip3. replaced it with an appropriate link the requirements.txt file as per the solution found in, https://stackoverflow.com/questions/34489271/i-cannot-install-mysql-connector-python-using-pip

@nuthanmunaiah nuthanmunaiah self-requested a review June 2, 2019 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant