fix !!fuse

This commit is contained in:
Ben Harris 2019-06-24 22:58:42 -04:00
parent a9089bf342
commit c991a9961b
1 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@ import sys, os
import time
import subprocess
import tracery
import traceback
from tracery.modifiers import base_english
import json
import random
@ -66,8 +67,8 @@ def listify(col):
def shuffle(col):
a = random.choice(col.keys())
b = random.choice(col.keys())
a = random.choice(list(col))
b = random.choice(list(col))
if "origin" in [a, b]:
print("origin discard")
return col
@ -179,3 +180,4 @@ if __name__ == "__main__":
except Exception as e:
print("ERROR" + str(m))
print(e)
traceback.print_exc()