notification_notify2 pylint fixes

This commit is contained in:
lakshyacis 2019-12-21 12:44:33 +05:30
parent 7b0bf84585
commit ea50485de2
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

View File

@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
"""
src/plugins/notification_notify2.py
===================================
Notification plugin using notify2
"""
import gi
@ -11,7 +10,7 @@ from gi.repository import Notify
Notify.init('pybitmessage')
def connect_plugin(title, subtitle, category, label, icon):
def connect_plugin(title, subtitle, category, _, icon):
"""Plugin for notify2"""
if not icon:
icon = 'mail-message-new' if category == 2 else 'pybitmessage'