add current working directory as a data directory

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2013-04-01 17:56:40 +02:00
parent 8af40226af
commit 1c1b27923f

View file

@ -203,9 +203,10 @@ class Ponysay():
return None return None
return a + b return a + b
return [cat(parsefile(item), file) for item in [ return [cat(parsefile(item), file) for item in [
'./',
'$XDG_DATA_HOME/ponysay/', '$XDG_DATA_HOME/ponysay/',
'$HOME/.local/share/ponysay/', '$HOME/.local/share/ponysay/',
'/usr/share/ponysay/', '/usr/share/ponysay/'
]] ]]