adding hardcoded bs to make global feels list load faster, re issue #11

This commit is contained in:
endorphant
2016-12-04 20:18:41 -05:00
parent 3a1e854245
commit 84492799e3
3 changed files with 62 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ import subprocess
import time
import json
from email.mime.text import MIMEText;
import re
import core
import chatter
@@ -808,7 +809,8 @@ def view_feed():
filenames = os.listdir(entryDir)
for entry in filenames:
if core.valid(entry):
## hardcoded bs
if core.valid(entry) and re.search("201612", entry):
feedList.append(os.path.join(entryDir, entry))
metas = core.meta(feedList)

View File

@@ -39,6 +39,7 @@ import subprocess
import time
import json
from email.mime.text import MIMEText;
import re
import core
import chatter
@@ -807,7 +808,8 @@ def view_feed():
filenames = os.listdir(entryDir)
for entry in filenames:
if core.valid(entry):
## hardcoded bs
if core.valid(entry) and re.search("201612", entry):
feedList.append(os.path.join(entryDir, entry))
metas = core.meta(feedList)