Skip to content

Commit

Permalink
Fixed tests after 646d61f -- had to cleanup pyc to realise the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfilliau committed Jan 15, 2015
1 parent 646d61f commit ef7d730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions talks/events/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ def save(self, *args, **kwargs):

@property
def api_organisation(self):
from . import forms
from . import datasources
try:
return forms.DEPARTMENT_DATA_SOURCE.get_object_by_id(self.department_organiser)
return datasources.DEPARTMENT_DATA_SOURCE.get_object_by_id(self.department_organiser)
except requests.HTTPError:
return None

Expand Down

0 comments on commit ef7d730

Please sign in to comment.