📚 Improved database structure & utils with new files for shm, wal, and enhanced debugging tools. 🆓
This commit is contained in:
@@ -268,7 +268,8 @@ def scan_printer(ip_address, timeout=5):
|
||||
cmd = ['ping', '-c', '1', '-W', str(timeout), ip_address]
|
||||
|
||||
print(f" 🏓 Ping-Test: ", end="")
|
||||
result = subprocess.run(cmd, capture_output=True, text=True)
|
||||
result = subprocess.run(cmd, capture_output=True, text=True,
|
||||
encoding='utf-8', errors='replace')
|
||||
|
||||
if result.returncode == 0:
|
||||
print(colorize("Erreichbar", "GREEN"))
|
||||
|
Reference in New Issue
Block a user