mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-24 21:48:08 +00:00
Warn about disk space a bit earlier
This commit is contained in:
parent
e5d91b101a
commit
52697867b7
|
@ -484,7 +484,7 @@ def index():
|
||||||
# Find drive usage
|
# Find drive usage
|
||||||
drive_usage = get_drive_usage()
|
drive_usage = get_drive_usage()
|
||||||
low_drive_space_error = False
|
low_drive_space_error = False
|
||||||
if int(re.sub("[^0-9]", "", drive_usage)) > 95:
|
if int(re.sub("[^0-9]", "", drive_usage)) >= 95:
|
||||||
low_drive_space_error = True
|
low_drive_space_error = True
|
||||||
|
|
||||||
# Check for new version of software
|
# Check for new version of software
|
||||||
|
|
Loading…
Reference in New Issue
Block a user