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()
_quotes = []
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:
if not quote == '':
if not quote in quoteshash: