Browse Source

Lol, infinite recursion errors.

pull/24/head
Ben Kurtovic 12 years ago
parent
commit
19d4e9b2d7
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      toolserver/misc.py

+ 4
- 1
toolserver/misc.py View File

@@ -19,7 +19,10 @@ class Query(object):
return None

def __setattr__(self, key, value):
self.query[key] = value
if key == "query":
super(Query, self).__setattr__(key, value)
else:
self.query[key] = value


def open_sql_connection(bot, dbname):


Loading…
Cancel
Save