splendid-snail / TePADiM

Weird text mangler
0 stars 0 forks source link

display_lists() displays more than just lists #3

Open splendid-snail opened 7 years ago

splendid-snail commented 7 years ago

Simple fix here. Use a loop like this one from create_lists() to display only .txt files:

for file in os.listdir(os.path.dirname(__file__)):
    if file.endswith(".txt"):
        print(file)

Also check to see if this bug is replicated in latest version of divine() function

splendid-snail commented 7 years ago

Fixed in latest version, will commit later