Permalink
Browse files

models: Correct comparison for cross-universe comics.

I could have sworn I committed this yesterday?
  • Loading branch information...
MostAwesomeDude committed Feb 20, 2012
1 parent 3cb0a2c commit 17ef2a3f1f19198aad9226248eeed32393515c40
Showing with 1 addition and 1 deletion.
  1. +1 −1 newrem/models.py
View
@@ -218,7 +218,7 @@ def insert(self, prior, after=False):
db.session.add(self)
return
- if prior.universe_fk != self.universe_fk:
+ if prior.universe != self.universe:
raise Exception(
"Comic.insert called with differing universes %r and %r" %
(self.universe, prior.universe))

0 comments on commit 17ef2a3

Please sign in to comment.