Fixing Pylint

This commit is contained in:
Vishal 2022-09-05 20:41:18 +05:30 committed by GitHub
parent cb4d0ee809
commit 92b80eae1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ class ServerDialogWindow(ba.Window):
def _copy_press(self) -> None: def _copy_press(self) -> None:
ba.clipboard_set_text(self.txt) ba.clipboard_set_text(self.txt)
ba.screenmessage("Copied To Clipboard", color = (0, 1, 0)) ba.screenmessage('Copied To Clipboard', color = (0, 1, 0))
def _ok_press(self) -> None: def _ok_press(self) -> None:
if ba.time(ba.TimeType.REAL, if ba.time(ba.TimeType.REAL,
@ -110,4 +110,4 @@ class ServerDialogWindow(ba.Window):
'dialogID': self._dialog_id, 'dialogID': self._dialog_id,
'response': 0 'response': 0
}) })
ba.containerwidget(edit=self._root_widget, transition='out_scale') ba.containerwidget(edit=self._root_widget, transition='out_scale')