Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1668)

Unified Diff: chrome/common/extensions/docs/server2/samples_data_source.py

Issue 10826173: Extensions Docs Server: Proper path handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/samples_data_source.py
diff --git a/chrome/common/extensions/docs/server2/samples_data_source.py b/chrome/common/extensions/docs/server2/samples_data_source.py
index db5ee0ea3f97e2e1582bf532566d2f1486d012da..a1281941e224fbe51ee03af29a5db22e9346e3a9 100644
--- a/chrome/common/extensions/docs/server2/samples_data_source.py
+++ b/chrome/common/extensions/docs/server2/samples_data_source.py
@@ -95,7 +95,7 @@ class SamplesDataSource(object):
if l10n_data['icon'] is None:
icon_path = self._static_path + DEFAULT_ICON_PATH
else:
- icon_path = sample_base_path + '/' + l10n_data['icon']
+ icon_path = '/' + sample_base_path + '/' + l10n_data['icon']
l10n_data.update({
'icon': icon_path,
'path': sample_base_path,

Powered by Google App Engine
This is Rietveld 408576698