coding derp

This commit is contained in:
Mattias Andrée 2012-08-27 01:40:43 +02:00
parent f1e66558e4
commit f0fcdd7903

View file

@ -217,7 +217,7 @@ class Ponysay():
quoteshash = set() quoteshash = set()
_quotes = [] _quotes = []
for quotedir in quotedirs: for quotedir in quotedirs:
_quotes += [item[:item.index('.')] for item in os.listdir(INSTALLDIR + '/share/ponysay/quotes/')] _quotes += [item[:item.index('.')] for item in os.listdir(quotedir)]
for quote in _quotes: for quote in _quotes:
if not quote == '': if not quote == '':
if not quote in quoteshash: if not quote in quoteshash: