mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 13:23:24 -07:00
Cleanup unused modules and imports
* Ran code through PyFlakes
This commit is contained in:
parent
325fa19e46
commit
cb8a5504f6
290 changed files with 45 additions and 78157 deletions
|
@ -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 []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue