Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
d'oh!
Browse files Browse the repository at this point in the history
  • Loading branch information
shanel committed Jul 31, 2012
1 parent fc9ae06 commit 7d04699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control_panel/models/model.py
Expand Up @@ -14,7 +14,7 @@ def __init__(self, kind=None, persistance=None, testing=False):
self.persistance = persistance self.persistance = persistance
if not testing: if not testing:
results, _ = self.persistance.exists(self.kind, self._trimmed()) results, _ = self.persistance.exists(self.kind, self._trimmed())
if results: if not results:
self.persistance.create(self._trimmed()) self.persistance.create(self._trimmed())


def _trimmed(self): def _trimmed(self):
Expand Down

0 comments on commit 7d04699

Please sign in to comment.