Skip to content

Commit

Permalink
FileObject return path instead of filename now (because of form.has_c…
Browse files Browse the repository at this point in the history
…hanged), fixed sehmaschine#81
  • Loading branch information
sehmaschine committed Mar 6, 2012
1 parent cf5f14c commit f9c8d01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filebrowser/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ def __init__(self, path, site=None):


def __str__(self):
return smart_str(self.filename)
return smart_str(self.path)

def __unicode__(self):
return smart_unicode(self.filename)
return smart_unicode(self.path)

@property
def name(self):
Expand Down

0 comments on commit f9c8d01

Please sign in to comment.