Added dropLevelTable method in Storage. (Issue #91)
This commit is contained in:
parent
6d7cea743b
commit
5ebe917689
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue