Browse Source

notification_notify2 pylint fixes

v0.6
lakshyacis 3 years ago
parent
commit
ea50485de2
No known key found for this signature in database GPG Key ID: D2C539C8EC63E9EB
  1. 5
      src/plugins/notification_notify2.py

5
src/plugins/notification_notify2.py

@ -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'

Loading…
Cancel
Save