widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #07716
Re: [Merge] lp:~widelands-dev/widelands-website/add_DISPLAY_to_update_help into lp:widelands-website
Uhh i didn't checked if the output is really good :-( Thanks for looking into this.
I think i have found it... The MEDIA_ROOT path contained double slashes. I don't know why, but this causes the slice in line 154 of update_help.py to cut too many chars:
return '%s%s' % (MEDIA_URL, new_name[len(MEDIA_ROOT):])
This is fixed now for all STATIC strings in local_settings.py and the encyclopedia on the website is updated again.
You may notice that i removed a slash in between the "%s". I did that because MEDIA_URL contains a slash itself and putting in there a slash results in a doubleslash again.
--
https://code.launchpad.net/~widelands-dev/widelands-website/add_DISPLAY_to_update_help/+merge/295756
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands-website/add_DISPLAY_to_update_help into lp:widelands-website.
References