mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-09 14:52:40 -04:00
Replace .format with python 3.6 f-strings in onionshare_gui module
This commit is contained in:
parent
16bcbbf55d
commit
db48e04e65
9 changed files with 42 additions and 75 deletions
|
@ -171,7 +171,7 @@ class FileList(QtWidgets.QListWidget):
|
|||
if event.mimeData().hasUrls:
|
||||
self.setStyleSheet(self.common.css["share_file_list_drag_enter"])
|
||||
count = len(event.mimeData().urls())
|
||||
self.drop_count.setText("+{}".format(count))
|
||||
self.drop_count.setText(f"+{count}")
|
||||
|
||||
size_hint = self.drop_count.sizeHint()
|
||||
self.drop_count.setGeometry(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue