mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-24 16:46:14 +08:00
Merge pull request #266 from ko2sec/master
fiexd #254 #224 #222 #210 #199 #163
This commit is contained in:
+1
-1
@@ -230,7 +230,7 @@ class RecordCollection(object):
|
||||
|
||||
# Ensure that we don't have more than one row.
|
||||
try:
|
||||
self[1]
|
||||
return self[1]
|
||||
except IndexError:
|
||||
return self.first(default=default, as_dict=as_dict,
|
||||
as_ordereddict=as_ordereddict)
|
||||
|
||||
Reference in New Issue
Block a user