From e6af06b8dc2f9027237f5ebefa8a87dfb2e4cb5b Mon Sep 17 00:00:00 2001 From: Lartza Date: Mon, 18 Jun 2018 13:31:57 +0300 Subject: [PATCH] Unused imports --- interface.py | 1 - mumbleBot.py | 3 --- util.py | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/interface.py b/interface.py index e94f19a..1b3bae3 100644 --- a/interface.py +++ b/interface.py @@ -5,7 +5,6 @@ import variables as var import util from datetime import datetime import os.path -from os import listdir import random from werkzeug.utils import secure_filename import errno diff --git a/mumbleBot.py b/mumbleBot.py index b8499f6..805c18a 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3 -from __future__ import unicode_literals -import re import threading import time import sys @@ -11,7 +9,6 @@ import audioop import subprocess as sp import argparse import os.path -from os import listdir import pymumble.pymumble_py3 as pymumble import interface import variables as var diff --git a/util.py b/util.py index 70ab20b..c569fea 100644 --- a/util.py +++ b/util.py @@ -150,4 +150,4 @@ class Dir(object): for key, val in self.subdirs.items(): val.render_text(ident + 1) for file in self.files: - print('{}{}'.format(' ' * ((ident + 1)) * 4, file)) + print('{}{}'.format(' ' * (ident + 1) * 4, file))