burnash/gspread — pull request #79 by shobhit (2013-10-03 08:43:47+00:00)
Title: Fixing the get_int_addr() function in models.py for wrong results

This function was returning wrong results for values like get_int_addr(1,104)
Because
divmod(104,26) gives mod=0 which makes chr(0+64) = 64 ie '@'.
I add this line before column_label "mod=26 if mod==0 else mod"
Now whenever the mod is 0.it would return take mod=26 as it will return now
chr(26+64) = chr(90) = Z