Satisfy pylint/mypy

This commit is contained in:
Philipp Hörist 2018-11-20 23:06:27 +01:00
parent 6327679461
commit 35b5a4d7a9
2 changed files with 1 additions and 3 deletions

View File

@ -180,7 +180,7 @@ def get_builder(file_name: str, widgets: List[str] = None) -> Builder:
return Builder(file_name, widgets)
def set_urgency_hint(window: Any, setting: bool):
def set_urgency_hint(window: Any, setting: bool) -> None:
if app.config.get('use_urgency_hint'):
window.set_urgency_hint(setting)

View File

@ -24,8 +24,6 @@
# You should have received a copy of the GNU General Public License
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
import nbxmpp
from gajim import message_control
from gajim.common import app