notification_notify2 pylint fixes
This commit is contained in:
parent
7b0bf84585
commit
ea50485de2
|
@ -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'
|
||||
|
|
Reference in New Issue
Block a user