search ./ for pony files etc

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2014-02-03 19:34:17 +01:00
parent 1cc49d33f5
commit 2591ae905c

View file

@ -181,8 +181,8 @@ class Ponysay():
if a is None:
return None
return a + b
# TODO use only ./ in development mode
return [cat(Ponysay.__parseFile(item), file) for item in [
'./',
'$XDG_DATA_HOME/ponysay/',
'$HOME/.local/share/ponysay/',
'/usr/share/ponysay/'