Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

3 changed files with 3 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
from setuptools import setup

View File

@ -373,10 +373,7 @@ def publishing(username=config.USER):
ttbprc = SETTINGS
else:
try:
ttbprc = json.load(open(os.path.join("/home", username, ".ttbp", "config", "ttbprc")))
except IOError:
return False
return ttbprc.get("publishing")

View File

@ -854,7 +854,6 @@ def generate_feels_list(user):
entryDir = os.path.join("/home", user, ".ttbp", "entries")
for entry in os.listdir(entryDir):
if core.valid(entry):
filenames.append(os.path.join(entryDir, entry))
metas = core.meta(filenames)
metas.sort(key = lambda entry:entry[4])