diff src/cagou/plugins/plugin_upload_android_photo.py @ 95:3e3c097b07b7

upload: added voice plugin (for Android)
author Goffi <goffi@goffi.org>
date Tue, 27 Dec 2016 21:54:09 +0100
parents 58a52bd299d8
children
line wrap: on
line diff
--- a/src/cagou/plugins/plugin_upload_android_photo.py	Mon Dec 26 20:34:58 2016 +0100
+++ b/src/cagou/plugins/plugin_upload_android_photo.py	Tue Dec 27 21:54:09 2016 +0100
@@ -25,8 +25,8 @@
 import os
 import os.path
 import time
-from plyer import camera
 if sys.platform == "android":
+    from plyer import camera
     from jnius import autoclass
     Environment = autoclass('android.os.Environment')
 else: