Skip to content

Commit

Permalink
fixing blank space error
Browse files Browse the repository at this point in the history
  • Loading branch information
meomancer committed Jul 21, 2016
1 parent 4fbc3c9 commit a0824dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions django_project/changes/views/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ def get_object(self, queryset=None):
"""
if queryset is None:
queryset = self.get_queryset()

slug = self.kwargs.get('slug', None)

project_slug = self.kwargs.get('project_slug', None)
if slug and project_slug:
try:
Expand Down

0 comments on commit a0824dd

Please sign in to comment.