Skip to content

Commit

Permalink
Remove a duplicate nucleus() call
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanforbes committed Dec 8, 2019
1 parent ae3fc93 commit 504ed9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion greek_accentuation/syllabify.py
Expand Up @@ -187,7 +187,7 @@ def syllable_length(s, final=None):
def syllable_accent(s):
n = nucleus(s)
if n is not None:
for ch in nucleus(s):
for ch in n:
a = accent(ch)
if a:
return a
Expand Down

0 comments on commit 504ed9c

Please sign in to comment.