|
|
@ -1,4 +1,5 @@
|
|
|
|
import datetime,os,re
|
|
|
|
import datetime,os,re
|
|
|
|
|
|
|
|
from collections import Counter
|
|
|
|
import log,skel,variables,tcgcore
|
|
|
|
import log,skel,variables,tcgcore
|
|
|
|
|
|
|
|
|
|
|
|
def indexgen():
|
|
|
|
def indexgen():
|
|
|
@ -210,7 +211,7 @@ def indexgen():
|
|
|
|
tradein.append(event["event"])
|
|
|
|
tradein.append(event["event"])
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
tradecommon = list(set(tradeout).intersection(tradein))
|
|
|
|
tradecommon = list((Counter(tradeout) & Counter(tradein)).elements())
|
|
|
|
sketch = len(tradecommon)
|
|
|
|
sketch = len(tradecommon)
|
|
|
|
if sketch > 0:
|
|
|
|
if sketch > 0:
|
|
|
|
content.write("<table class=\"sketchpads\">\n<tbody>\n<tr>\n<td><img src=\"/assets/sketch/")
|
|
|
|
content.write("<table class=\"sketchpads\">\n<tbody>\n<tr>\n<td><img src=\"/assets/sketch/")
|
|
|
|