Skip to content

Commit

Permalink
[thumbnail] use posixpath to generate thumbnail-src
Browse files Browse the repository at this point in the history
  • Loading branch information
imwhatiam committed Jan 14, 2015
1 parent 2ba6491 commit 6be3900
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions seahub/thumbnail/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
import posixpath
from seahub.utils import get_service_url
def get_thumbnail_src(repo_id, obj_id, size):
return os.path.join(get_service_url(), "thumbnail", repo_id,
obj_id, size, '')
return posixpath.join(get_service_url(), "thumbnail", repo_id,
obj_id, size)

0 comments on commit 6be3900

Please sign in to comment.