15:08:04 ChrisS | cjohnston: I'm sure there's a more elegant way around it, but for now it's just: if old_average == 0: entries[entry]['change'] = 0 else: <original code>
15:08:04 ChrisS | cjohnston: I'm sure there's a more elegant way around it, but for now it's just: if old_average == 0: entries[ entry][ 'change' ] = 0 else: <original code>