Skip to content

Commit 8b3ffc0

Browse files
author
surbhi
committed
lint fix
1 parent d9fabf4 commit 8b3ffc0

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/bitmessageqt/__init__.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -908,10 +908,19 @@ def updateHumanFriendlyTTLDescription(self, ttl):
908908

909909
if ttl < (2 * DAY):
910910
self.ui.labelHumanFriendlyTTLDescription.setText(
911-
_translate("MainWindow", "%n hour(s)", None, QtCore.QCoreApplication.CodecForTr, int(round(ttl / HOUR))) +
912-
", " +
913-
_translate("MainWindow", "not recommended for chans", None, QtCore.QCoreApplication.CodecForTr)
911+
(
912+
_translate(
913+
"MainWindow", "%n hour(s)", None,
914+
QtCore.QCoreApplication.CodecForTr,
915+
int(round(ttl / HOUR))
916+
)
917+
+ ", "
918+
+ _translate(
919+
"MainWindow", "not recommended for chans",
920+
None, QtCore.QCoreApplication.CodecForTr
921+
)
914922
)
923+
)
915924
stylesheet = "QLabel { color : red; }"
916925
font.setBold(True)
917926
else:

0 commit comments

Comments
 (0)