Skip to content

Commit

Permalink
Fix #359
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed Sep 29, 2015
1 parent 2617143 commit 37b1584
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ def deleteFit(self, fitID):
# refresh any fits this fit is projected onto. Otherwise, if we have
# already loaded those fits, they will not reflect the changes
for projection in fit.projectedOnto.values():
eos.db.saveddata_session.refresh(projection.victim_fit)
if projection.victim_fit in eos.db.saveddata_session: # GH issue #359
eos.db.saveddata_session.refresh(projection.victim_fit)

def copyFit(self, fitID):
fit = eos.db.getFit(fitID)
Expand Down

0 comments on commit 37b1584

Please sign in to comment.