nate-xyz / conjure

Magically transform your images.
https://beta.flathub.org/apps/io.github.nate_xyz.Conjure
GNU General Public License v3.0
87 stars 12 forks source link

Unused base_name in window.py #14

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi, there is a papercut here. base_name defined but unused.

    def open_image_toast(self, uri):
        base_name = html.escape(os.path.basename(uri))
        self.add_success_toast(_("Opened image:"), os.path.basename(uri))

Source: https://github.com/nate-xyz/conjure/blob/main/conjure/window.py#L106-L107

nate-xyz commented 1 year ago

https://github.com/nate-xyz/conjure/commit/43f1001719d8ec3c64dbda7a495851f724150301