aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-03-07 16:42:16 -0800
committerGravatar MarkKoz <[email protected]>2020-03-07 16:42:16 -0800
commite7dde8f29212b21edf241b2d821e7c40a282b5d8 (patch)
tree122656c47882094db975f0032aa1fa50b70cf5f6 /tests
parentMerge pull request #820 from python-discord/feat/ci/pre-commit-tweaks (diff)
ModLog: fix posting null attachments for deleted message logs
If attachments are not given to `upload_log`, an empty list is used. By default, `zip_longest` uses `None` ass the fill value, so each message was getting paired with a `None` (AKA null) attachment. The filed in the DB is non-nullable so an empty list must be used instead. Fixes #792
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions