X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/11f3ff4140edcd5dd4d8e20f918c58003c634d10..a6d7a53b0cc7a8f8629e8e1272a56d3c51179317:/floof/lib/dbhelpers.py?ds=inline diff --git a/floof/lib/dbhelpers.py b/floof/lib/dbhelpers.py index 0da968b..23fd3b4 100644 --- a/floof/lib/dbhelpers.py +++ b/floof/lib/dbhelpers.py @@ -3,7 +3,7 @@ def find_or_create(model, **kwargs): if not instance: instance = model(**kwargs) return instance - + def update_or_create(model, get_by, update_with): instance = model.get_by(**get_by) if instance: