diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | app/utils/db.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d20b64 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.pyc diff --git a/app/utils/db.py b/app/utils/db.py index abd21ab..3c25ace 100644 --- a/app/utils/db.py +++ b/app/utils/db.py @@ -297,7 +297,7 @@ def aggregate( group_dict['$group'].update(fields) pipeline.append(group_dict) - # Make sure we retun the exact number of elements after grouping them. + # Make sure we return the exact number of elements after grouping them. if limit: pipeline.append({ '$limit': limit |