Cleanup unused modules and imports

* Ran code through PyFlakes
This commit is contained in:
JonnyWong16
2016-05-15 11:32:11 -07:00
parent 325fa19e46
commit cb8a5504f6
290 changed files with 45 additions and 78157 deletions

View File

@@ -14,7 +14,6 @@
# along with PlexPy. If not, see <http://www.gnu.org/licenses/>.
import os
import re
import plexpy
import helpers
@@ -33,7 +32,7 @@ def get_log_tail(window=20, parsed=True, log_type="server"):
try:
logfile = open(log_file, "r")
except IOError, e:
except IOError as e:
logger.error('Unable to open Plex Log file. %s' % e)
return []