forked from indymedia/epicyon
Silly duplication
parent
b8f9029eaa
commit
4e7655820e
|
@ -709,18 +709,18 @@ def htmlLogin(translate: {},baseDir: str,autocomplete=True) -> str:
|
|||
|
||||
loginImage='login.png'
|
||||
loginImageFilename=None
|
||||
if os.path.isfile(os.path.isfile(baseDir+'/accounts/'+loginImage)):
|
||||
if os.path.isfile(baseDir+'/accounts/'+loginImage):
|
||||
loginImageFilename=baseDir+'/accounts/'+loginImage
|
||||
if os.path.isfile(os.path.isfile(baseDir+'/accounts/login.jpg')):
|
||||
if os.path.isfile(baseDir+'/accounts/login.jpg'):
|
||||
loginImage='login.jpg'
|
||||
loginImageFilename=baseDir+'/accounts/'+loginImage
|
||||
if os.path.isfile(os.path.isfile(baseDir+'/accounts/login.jpeg')):
|
||||
if os.path.isfile(baseDir+'/accounts/login.jpeg'):
|
||||
loginImage='login.jpeg'
|
||||
loginImageFilename=baseDir+'/accounts/'+loginImage
|
||||
if os.path.isfile(os.path.isfile(baseDir+'/accounts/login.gif')):
|
||||
if os.path.isfile(baseDir+'/accounts/login.gif'):
|
||||
loginImage='login.gif'
|
||||
loginImageFilename=baseDir+'/accounts/'+loginImage
|
||||
if os.path.isfile(os.path.isfile(baseDir+'/accounts/login.webp')):
|
||||
if os.path.isfile(baseDir+'/accounts/login.webp'):
|
||||
loginImage='login.webp'
|
||||
loginImageFilename=baseDir+'/accounts/'+loginImage
|
||||
|
||||
|
|
Loading…
Reference in New Issue