Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
fix #16
Browse files Browse the repository at this point in the history
  • Loading branch information
lordfriend committed Jul 2, 2016
1 parent b6202e4 commit 75d5d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def generate_cover_link(self, bangumi):
return cover_url

def generate_video_link(self, bangumi_id, path):
video_link = '/video/{0}/{1}'.format(bangumi_id, path)
video_link = '/video/{0}/{1}'.format(bangumi_id, path.encode('utf-8'))
if self.video_domain is not None:
video_link = self.video_domain + video_link
return video_link
Expand Down

0 comments on commit 75d5d9d

Please sign in to comment.