Skip to content

Commit 8b9bec2

Browse files
committed
Fix redirect_url callback
1 parent 3f27537 commit 8b9bec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libzim/lib.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ zim::writer::Url
136136
ZimArticleWrapper::getRedirectUrl() const
137137
{
138138

139-
std::string redirectUrl = callCythonReturnString("get_url");
139+
std::string redirectUrl = callCythonReturnString("get_redirect_url");
140140
return zim::writer::Url(redirectUrl.substr(0, 1)[0], redirectUrl.substr(2, redirectUrl.length()));
141141
}
142142

0 commit comments

Comments
 (0)