This is my personal gitlab instance. Feel free to browse my stuff: https://gitlab.greeson.xyz/users/highsaltlevels/projects

Fix waifu

David Greeson requested to merge fix-waifu into master

Created by: HighSaltLevels

What/Why

The waifu feature was broken. It was erroring out with:

PermissionError: [Errno 13] Permission denied: 'temp.jpg'

This is because I temporarily write the file to disk and have the discord client send that back to the requester. Well, when I run the container, I run it as a non-root user which has no permission to write to any directory in the container except for /tmp. So I just changed the path to /tmp/temp.jpg and that worked.

Pylint fixes

Turns out I haven't run pylint on the tests in a hot minute. There were several unused imports. I just removed those 😅

Merge request reports