From 595811d0b49b6727b12e807bbb42a5ca08b6a2ab Mon Sep 17 00:00:00 2001 From: Nikolaj Danger Date: Tue, 4 Aug 2020 10:15:44 +0200 Subject: [PATCH] :fire: Removed unusede imports --- Gwendolyn.py | 2 +- funcs/miscFuncs.py | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Gwendolyn.py b/Gwendolyn.py index 491cfcb..25af35a 100644 --- a/Gwendolyn.py +++ b/Gwendolyn.py @@ -10,7 +10,7 @@ import random #import math import os -from funcs import helloFunc, cap, imageFunc, logThis, findWikiPage, makeFiles, emojiToNumber, fiarReactionTest, deleteGame, stopServer, checkBalance, giveMoney, addMoney, triviaCountPoints, triviaStart, triviaAnswer, blackjackShuffle, blackjackStart, blackjackPlayerDrawHand, blackjackContinue, blackjackFinish, blackjackHit, blackjackStand, blackjackDouble, blackjackSplit, parseFourInARow, fourInARowAI, spellFunc, monsterFunc, nameGen, tavernGen, movieFunc, roll_dice, parseChar, parseRoll, critRoll, parseDestiny +from funcs import helloFunc, cap, imageFunc, logThis, findWikiPage, makeFiles, emojiToNumber, fiarReactionTest, deleteGame, stopServer, checkBalance, giveMoney, triviaCountPoints, triviaStart, triviaAnswer, blackjackShuffle, blackjackStart, blackjackPlayerDrawHand, blackjackContinue, blackjackFinish, blackjackHit, blackjackStand, blackjackDouble, blackjackSplit, parseFourInARow, fourInARowAI, spellFunc, monsterFunc, nameGen, tavernGen, movieFunc, roll_dice, parseChar, parseRoll, critRoll, parseDestiny from gameLoops import fiar, blackjackLoop diff --git a/funcs/miscFuncs.py b/funcs/miscFuncs.py index ae0ef31..744f274 100644 --- a/funcs/miscFuncs.py +++ b/funcs/miscFuncs.py @@ -1,16 +1,12 @@ import lxml.etree # Used by imageFunc -import re # Used by roll_dice import datetime # Used by helloFunc import json # Used by spellFunc import random # Used by imageFunc import urllib # Used by imageFunc -import imdb # Used by movieFunc import time # Used for logging import logging # Used for... you know... logging import wikia # Used by findWikiPage -import os - -from .roll import dice +import os # Used by makeFiles logging.basicConfig(filename="gwendolyn.log", level=logging.INFO)