From 30569d4a956d700b62cac7b027f8dd16aaaf4913 Mon Sep 17 00:00:00 2001 From: Dpeta <69427753+Dpeta@users.noreply.github.com> Date: Sat, 14 Jan 2023 23:05:38 +0100 Subject: [PATCH] Run autoflake --- convo.py | 1 - irc.py | 2 -- logviewer.py | 1 - menus.py | 1 - pesterchum.py | 1 - 5 files changed, 6 deletions(-) diff --git a/convo.py b/convo.py index 5e240d7..61b33a2 100644 --- a/convo.py +++ b/convo.py @@ -1,4 +1,3 @@ -import sys import logging from string import Template from time import strftime diff --git a/irc.py b/irc.py index 333fc40..ada4891 100644 --- a/irc.py +++ b/irc.py @@ -2,7 +2,6 @@ import logging import socket import random import time -import json import ssl try: @@ -873,7 +872,6 @@ class PesterHandler(DefaultCommandHandler): PchumLog.warning( "Can't remove channel mode that isn't set." ) - pass self.parent.userPresentUpdate.emit( "", channel, channel_mode + ":%s" % (op) ) diff --git a/logviewer.py b/logviewer.py index 38f7679..803b284 100644 --- a/logviewer.py +++ b/logviewer.py @@ -1,5 +1,4 @@ import os -import sys import codecs import re import ostools diff --git a/menus.py b/menus.py index 29d5389..dcb880f 100644 --- a/menus.py +++ b/menus.py @@ -1,4 +1,3 @@ -import sys import re from os import remove diff --git a/pesterchum.py b/pesterchum.py index 94e33ab..52deef9 100755 --- a/pesterchum.py +++ b/pesterchum.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 import os import sys -import shutil import argparse import traceback import logging