Ver a proveniência

Strip whitespace.

master
Ben Kurtovic há 7 anos
ascendente
cometimento
79866da842
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      copyvios/attribution.py

+ 1
- 1
copyvios/attribution.py Ver ficheiro

@@ -30,7 +30,7 @@ def get_attribution_info(site, page):

for template in page.parse().ifilter_templates():
if template.name.matches(templates):
name = unicode(template.name)
name = unicode(template.name).strip()
title = name if ":" in name else prefix + ":" + name
return name, site.get_page(title).url
return None

Carregando…
Cancelar
Guardar