diff --git a/stickerbridge/matrix_reuploader.py b/stickerbridge/matrix_reuploader.py index b836165..7e3f00a 100644 --- a/stickerbridge/matrix_reuploader.py +++ b/stickerbridge/matrix_reuploader.py @@ -69,6 +69,8 @@ class MatrixReuploader: pack_location = import_name if isDefault: pack_location = "" + elif pack_location.startswith("http"): + pack_location = pack_location.split("/")[-1] await upload_stickerpack(self.client, self.room.room_id, stickerset, pack_location)