You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: nikola/plugins/task/tags.py
+4-4
Original file line number
Diff line number
Diff line change
@@ -114,8 +114,8 @@ def gen_tasks(self):
114
114
ifslugincategories:
115
115
other_category=categories[slug]
116
116
utils.LOGGER.error('You have categories that are too similar: {0} and {1}'.format(category, other_category))
117
-
utils.LOGGER.error('Category {0} is used in: {1}'.format(category, ', '.join([p.source_pathforpinself.posts_per_category[category]])))
118
-
utils.LOGGER.error('Category {0} is used in: {1}'.format(other_category, ', '.join([p.source_pathforpinself.posts_per_category[other_category]])))
117
+
utils.LOGGER.error('Category {0} is used in: {1}'.format(category, ', '.join([p.source_pathforpinself.site.posts_per_category[category]])))
118
+
utils.LOGGER.error('Category {0} is used in: {1}'.format(other_category, ', '.join([p.source_pathforpinself.site.posts_per_category[other_category]])))
0 commit comments