mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix sonar findings
This commit is contained in:
parent
9e54eafd50
commit
b2035eef60
@ -85,7 +85,7 @@ class Controller:
|
|||||||
encoding="utf-8",
|
encoding="utf-8",
|
||||||
) as f:
|
) as f:
|
||||||
self.auth_tracker = json.load(f)
|
self.auth_tracker = json.load(f)
|
||||||
except:
|
except (FileNotFoundError, json.JSONDecodeError):
|
||||||
self.auth_tracker = {}
|
self.auth_tracker = {}
|
||||||
|
|
||||||
def log_attempt(self, remote_ip, username):
|
def log_attempt(self, remote_ip, username):
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<div class="card-header justify-content-between align-items-center" style="border: none;">
|
<div class="card-header justify-content-between align-items-center" style="border: none;">
|
||||||
<div id="image-div" style="width: 100%;">
|
<div id="image-div" style="width: 100%;">
|
||||||
<img class="img-center" id="logo-animate" src="../static/assets/images/crafty-logo-square-1024.png"
|
<img class="img-center" id="logo-animate" src="../static/assets/images/crafty-logo-square-1024.png"
|
||||||
width="20%" style="clear: both;">
|
alt="Crafty Logo, Crafty is loading" width="20%" style="clear: both;">
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
</br>
|
</br>
|
||||||
|
Loading…
Reference in New Issue
Block a user