plugin android: only media on Android only:
Importing `media` on desktop was causing trouble as it may not be installed.
This commit is contained in:
parent
3cf38d138e
commit
df2a9ba8e8
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,6 @@ from libervia.backend.core import exceptions
|
|||
from libervia.backend.core.log import getLogger
|
||||
from libervia.backend.tools.common import async_process
|
||||
from libervia.backend.memory import params
|
||||
from libervia import media
|
||||
|
||||
|
||||
log = getLogger(__name__)
|
||||
|
|
@ -63,6 +62,7 @@ from plyer.platforms.android.notification import AndroidNotification
|
|||
from jnius import autoclass
|
||||
from android.broadcast import BroadcastReceiver
|
||||
from android import python_act
|
||||
from libervia import media
|
||||
|
||||
|
||||
Context = autoclass("android.content.Context")
|
||||
|
|
|
|||
Loading…
Reference in a new issue