Cosmetics

This commit is contained in:
Hugo Posnic 2023-04-02 20:25:30 +02:00
parent 1a012c993c
commit d69ae31844
3 changed files with 3 additions and 4 deletions

View File

@ -8,9 +8,9 @@
`poetry run pylint src`
## Run pyflackes
## Run pyflakes
`poetry run pylint pyflackes`
`poetry run pyflakes src`
## Run bandit

View File

@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from gi.repository import Adw, Gtk, GLib, Gio, GdkPixbuf
from gi.repository import Gtk, GLib, Gio, GdkPixbuf
def sizeof_fmt(num):

View File

@ -164,7 +164,6 @@ class CurtailWindow(Gtk.ApplicationWindow):
return row
def set_saving_subtitle(self):
label = ''
if self._settings.get_boolean('new-file'):
label = _("Images are saved with '{}' suffix.")\
.format(self._settings.get_string('suffix'))