shapr / bloohm

visual bloom filter to display process status as neotrellis m4 output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This could be divmod instead of explicit code

shapr opened this issue · comments

bloohm/code.py

Line 34 in d262ae8

x = ival % trellis.pixels.width

This code is pretty close to the standard divmod function in Python. The code would be simpler if divmod were used.