mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 04:27:58 +01:00
Fixups?
This commit is contained in:
parent
15ebc0ce48
commit
baeaf3446b
2 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,7 @@ class ColourStack():
|
|||
let i, n = (0, len(self.seq))
|
||||
while i < n:
|
||||
let part = self.seq[i]
|
||||
let p = 0 if part == '' else int(part)
|
||||
let p = 0 if part == '' else int(part,10)
|
||||
i += 1
|
||||
if p == 0: self.stack[0][1:] = [None, None, [False] * 9]
|
||||
elif 1 <= p <= 9: self.stack[0][3][p - 1] = True
|
||||
|
|
|
@ -246,6 +246,7 @@ class Ponysay():
|
|||
return [cat(cls.__parseFile(item), file) for item in [
|
||||
'$XDG_DATA_HOME/ponysay/',
|
||||
'$HOME/.local/share/ponysay/',
|
||||
__file__.replace('ponysay/ponysay.krk',''),
|
||||
'/usr/share/ponysay/',
|
||||
'/usr/ponysay/',
|
||||
'./'
|
||||
|
|
Loading…
Reference in a new issue