kquick / Thespian

Python Actor concurrency library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Faulty rot13 implementation in examples/multi_system

rsippl opened this issue · comments

return ((val + 13) % 26) + ord('a')

Does not compute ;) A solution would be

return ((val - ord('a') + 13) % 26) + ord('a')

(and the same for 'A' .. 'Z').

Ha, thanks! Fixed in fb390df