UlrikHD
UlrikHD
As the title says, adds a function so that you can hide communities on an instance via an admin account.
Currently login() will raise `Exception` if login was unsuccessful/does not return status code 200. However it can be useful to have easy access to the status code to check *why*...
Currently login() will cause an AttributeError if login is attempted without internet connection as post_handler will return None, meaning the check `re.status_code == 200` cannot be done. This PR checks...
Currently `LemmyHttp.login()` is the only function that checks for status code before returning a response object, raising a generic Exception if status code isn't 200. To keep functions consistent across...