diff --git a/main.py b/main.py index 1b8ce98..2da0b2d 100644 --- a/main.py +++ b/main.py @@ -86,6 +86,8 @@ def query(self, query): ) if response.status_code == 200: + file_name = file_name.replace(" ", "_") + with open(f"{save_path}/{file_name}.png", "wb") as out: out.write(response.content) diff --git a/plugin.json b/plugin.json index f40f943..2a2780b 100644 --- a/plugin.json +++ b/plugin.json @@ -4,7 +4,7 @@ "Name": "Remove.bg", "Description": "Remove backgrounds from images", "Author": "z1nc0r3", - "Version": "1.0.0", + "Version": "1.0.1", "Language": "python", "Website": "https://github.com/z1nc0r3/remove.bg", "IcoPath": "Images\\app.png",