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 from setuptools import setup

View File

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

View File

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