Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ftsagkris committed Dec 19, 2018
1 parent 24fefa8 commit 6913558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion croissant.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


def slugify(text):
# credit: http://stackoverflow.com/a/8366771
# credits: http://stackoverflow.com/a/8366771
text = unidecode.unidecode(text.strip()).lower()
return re.sub(r'\W+', '-', text)

Expand Down

0 comments on commit 6913558

Please sign in to comment.