Browse Source

Fix silly tuple regresion

Thomas Adamcik 14 years ago
parent
commit
c3da6b4f3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netfields/managers.py

+ 1 - 1
netfields/managers.py

@@ -63,7 +63,7 @@ class NetWhere(sql.where.WhereNode):
             extra = ''
 
         if isinstance(params, basestring):
-            params = tuple(params)
+            params = (params,)
 
         if lookup_type in NET_OPERATORS:
             return (' '.join([field_sql, NET_OPERATORS[lookup_type], extra]), params)