Added dropLevelTable method in Storage. (Issue #91)

This commit is contained in:
Yizhe Shen 2015-02-06 20:19:34 -05:00
parent 6d7cea743b
commit 5ebe917689
1 changed files with 8 additions and 0 deletions

View File

@ -2387,6 +2387,14 @@ class TriviaTime(callbacks.Plugin):
except:
pass
c.close()
def dropLevelTable(self):
c = self.conn.cursor()
try:
c.execute('''DROP TABLE trivialevel''')
except:
pass
c.close()
def getRandomQuestionNotAsked(self, channel, roundStart):
c = self.conn.cursor()