Use absolute imports on all plugins
This is necessary because Gajim is with 0.16.11 a python package
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
[info]
|
||||
name: MPRIS2 support
|
||||
short_name: mpris2_support
|
||||
version: 0.3.3
|
||||
version: 0.3.4
|
||||
description: MPRIS2 support. Allows to update status message according to the music you're listening via the MPRIS2 D-Bus API.
|
||||
authors = Denis Fomin <fominde@gmail.com>
|
||||
homepage = https://dev.gajim.org/gajim/gajim-plugins/wikis/mprissupportplugin
|
||||
min_gajim_version: 0.16.10
|
||||
min_gajim_version: 0.16.11
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
import os
|
||||
|
||||
from plugins import GajimPlugin
|
||||
from plugins.helpers import log_calls
|
||||
from common import dbus_support
|
||||
from gajim.plugins import GajimPlugin
|
||||
from gajim.plugins.helpers import log_calls
|
||||
from gajim.common import dbus_support
|
||||
|
||||
ERR_MSG = ''
|
||||
|
||||
if dbus_support.supported:
|
||||
from music_track_listener import MusicTrackListener
|
||||
from gajim.music_track_listener import MusicTrackListener
|
||||
else:
|
||||
ERR_MSG = 'D-Bus Python bindings are missing'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user