From 9b79c9dfa14da2f92b7a22f3f415048122823efd Mon Sep 17 00:00:00 2001 From: Famille Bollu Date: Thu, 26 Jul 2018 20:03:32 +0200 Subject: [PATCH] Cleaned import stanzas --- peertube.py | 4 +--- service.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/peertube.py b/peertube.py index febcd6d..f1dc94a 100755 --- a/peertube.py +++ b/peertube.py @@ -10,13 +10,11 @@ # or only when the addon is running, or only when kodi is playing one,...? # - Do sanity checks on received data -import libtorrent import time, sys import urllib2, json from urlparse import parse_qsl +import xbmc, xbmcgui, xbmcplugin, xbmcvfs import AddonSignals -import xbmcgui, xbmcplugin, xbmcvfs -from threading import Thread # Get the plugin url in plugin:// notation. __url__ = sys.argv[0] diff --git a/service.py b/service.py index 74e959c..3fd068f 100644 --- a/service.py +++ b/service.py @@ -1,9 +1,7 @@ import libtorrent import time, sys -import urllib2, json -from urlparse import parse_qsl +import xbmcvfs import AddonSignals -import xbmcgui, xbmcplugin, xbmcvfs from threading import Thread class PeertubeDownloader(Thread):