Merge pull request #250 from shaitan/recovery

Python: Fixed get_address_ranges