Skip to content

Commit

Permalink
Was i drunk when i did this?; Fixed add()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferus committed Apr 5, 2012
1 parent bdb23b7 commit 9bf44a9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Plugins/Quotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ def Save(self):
print("* [Quotes.py] Saving Database!")

def Add(self, String):
try:
self.Conn.commit()
print("* [Quotes] Saving database!")
except Exception, e:
print("* [Quotes] OOPS! {0}".format(repr(e)))

def Add(self, QuoteString):
try:
x = self.Cursor.execute("insert into {0} values (NULL, ?)".format(self.Table), (String.decode("utf8"),))
self.LastID = str(x.lastrowid)
Expand Down

0 comments on commit 9bf44a9

Please sign in to comment.