Cleanup all imports

* Should fix problems with needing to do inline imports
This commit is contained in:
JonnyWong16
2016-05-07 11:26:00 -07:00
parent 600bca7e8b
commit f4e719749a
40 changed files with 256 additions and 145 deletions

View File

@@ -15,14 +15,17 @@
# Mostly borrowed from https://github.com/trakt/Plex-Trakt-Scrobbler
from plexpy import logger, activity_pinger
import threading
import plexpy
import json
import threading
import time
import websocket
import plexpy
import activity_handler
import activity_pinger
import logger
name = 'websocket'
opcode_data = (websocket.ABNF.OPCODE_TEXT, websocket.ABNF.OPCODE_BINARY)
ws_reconnect = False
@@ -132,8 +135,6 @@ def receive(ws):
def process(opcode, data):
from plexpy import activity_handler
if opcode not in opcode_data:
return False