forked from expo/troggle
Fixed parsers
This commit is contained in:
@@ -69,8 +69,8 @@ def alphabet_suffix(n):
|
||||
if not alphabet:
|
||||
alphabet = list(string.ascii_lowercase)
|
||||
|
||||
if n < len(alphabet):
|
||||
suffix = alphabet[n]
|
||||
if n < len(alphabet) and n > 0:
|
||||
suffix = alphabet[n-1]
|
||||
else:
|
||||
suffix = "_X_" + random.choice(string.ascii_lowercase) + random.choice(string.ascii_lowercase)
|
||||
return suffix
|
||||
|
||||
Reference in New Issue
Block a user