forked from indymedia/epicyon
Logic sequence
parent
561640abfe
commit
77dc42c343
|
@ -255,13 +255,13 @@ def addLocalBlogsToNewswire(baseDir: str, newswire: {},
|
||||||
nickname = handle.split('@')[0]
|
nickname = handle.split('@')[0]
|
||||||
if not isTrustedByNewswire(baseDir, nickname):
|
if not isTrustedByNewswire(baseDir, nickname):
|
||||||
continue
|
continue
|
||||||
accountDir = os.path.join(baseDir + '/accounts', handle)
|
|
||||||
|
|
||||||
# has this account been suspended?
|
# has this account been suspended?
|
||||||
if isSuspended(baseDir, nickname):
|
if isSuspended(baseDir, nickname):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# is there a blogs timeline for this account?
|
# is there a blogs timeline for this account?
|
||||||
|
accountDir = os.path.join(baseDir + '/accounts', handle)
|
||||||
blogsIndex = accountDir + '/tlblogs.index'
|
blogsIndex = accountDir + '/tlblogs.index'
|
||||||
if os.path.isfile(blogsIndex):
|
if os.path.isfile(blogsIndex):
|
||||||
domain = handle.split('@')[1]
|
domain = handle.split('@')[1]
|
||||||
|
|
Loading…
Reference in New Issue