I realized having to host this potentially indefinitely might not be the best idea, so I am going to shut down this gitea instance eventually.
You’ll have time, at least until the end of 2022, probably longer, but please just get all your stuff somewhere safe in case we ever disappear.
If any of your build scripts rely on my (kageru’s) projects hosted here, check my Github or IEW on Github for encoding projects. If you can’t find what you’re looking there, tell me to migrate it.

fixed a bug when uploading non-images and using preview

master
kageru 4 years ago
parent f8ce7acd7e
commit de884b1df9
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2

@ -51,7 +51,11 @@ def upload_local_file(path: str) -> None:
url = config.url_template.format(filename)
else:
url = curl_upload(path)
notify_user(url, path)
# Only pass the path when uploading an image
if re.search(r'\.(png|jpe?g|bmp)$', path):
notify_user(url, path)
else:
notify_user(url)
def prepare_file(ext: str) -> str:

Loading…
Cancel
Save