forked from indymedia/epicyon
Less indentation
parent
4cef99cb55
commit
3e5ff202e6
|
@ -174,7 +174,8 @@ def addShare(baseDir: str,
|
||||||
# indicate that a new share is available
|
# indicate that a new share is available
|
||||||
for subdir, dirs, files in os.walk(baseDir + '/accounts'):
|
for subdir, dirs, files in os.walk(baseDir + '/accounts'):
|
||||||
for handle in dirs:
|
for handle in dirs:
|
||||||
if '@' in handle:
|
if '@' not in handle:
|
||||||
|
continue
|
||||||
accountDir = baseDir + '/accounts/' + handle
|
accountDir = baseDir + '/accounts/' + handle
|
||||||
newShareFile = accountDir + '/.newShare'
|
newShareFile = accountDir + '/.newShare'
|
||||||
if not os.path.isfile(newShareFile):
|
if not os.path.isfile(newShareFile):
|
||||||
|
|
Loading…
Reference in New Issue