From d9c6986a892c47233a95081af94a1d2ea25a64ce Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 18 Jun 2020 21:50:16 +0100 Subject: static files redone --- utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utils.py') diff --git a/utils.py b/utils.py index 22f50f6..4fc14e9 100644 --- a/utils.py +++ b/utils.py @@ -45,8 +45,7 @@ def save_carefully(objectType, lookupAttribs={}, nonLookupAttribs={}): defined in core.models.TroggleModel. """ - - instance, created=objectType.objects.get_or_create(defaults=nonLookupAttribs, **lookupAttribs) + instance, created = objectType.objects.get_or_create(defaults=nonLookupAttribs, **lookupAttribs) if not created and not instance.new_since_parsing: for k, v in list(nonLookupAttribs.items()): #overwrite the existing attributes from the logbook text (except date and title) -- cgit v1.2.3