Closed sachebotarev closed 14 years ago
"/media/file/".split("/") -> ["", "media","file",""]
pastie/pastielib/history.py 127-128: for d in range(last): path_list[d] = path_list[d][0] Replace for d in range(last): try: path_list[d] = path_list[d][0] except IndexError: pass
I confirm the issue. I'll check ASAP.
Solved. Releasing for 0.5.4.
"/media/file/".split("/") -> ["", "media","file",""]
pastie/pastielib/history.py 127-128: for d in range(last): path_list[d] = path_list[d][0] Replace for d in range(last): try: path_list[d] = path_list[d][0] except IndexError: pass