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",
|
||||
) as f:
|
||||
self.auth_tracker = json.load(f)
|
||||
except:
|
||||
except (FileNotFoundError, json.JSONDecodeError):
|
||||
self.auth_tracker = {}
|
||||
|
||||
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 id="image-div" style="width: 100%;">
|
||||
<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>
|
||||
<br>
|
||||
</br>
|
||||
|
Loading…
Reference in New Issue
Block a user