mirror of
https://github.com/tildeclub/ttbp.git
synced 2026-01-24 18:50:18 +00:00
adding hardcoded bs to make global feels list load faster, re issue #11
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user