Skip to content

Commit

Permalink
Small style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
macro1 committed Oct 31, 2014
1 parent bb65c1c commit c2c9101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple_history/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def register(model, app=None, manager_name='history', **records_config):
`HistoricalManager` instance directly to `model`.
"""
from . import models
if not model._meta.db_table in models.registered_models:
if model._meta.db_table not in models.registered_models:
records = models.HistoricalRecords(**records_config)
records.manager_name = manager_name
records.module = app and ("%s.models" % app) or model.__module__
Expand Down

0 comments on commit c2c9101

Please sign in to comment.