forked from endorphant/ttbp
Compare commits
No commits in common. "master" and "master" have entirely different histories.
2
setup.py
2
setup.py
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue