File size: 645 Bytes
29cdc9d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import json
import os

class FSIDashboard:
    def show(self):
        print("=================================================")
        print("    FERRELL SYNTHETIC INTELLIGENCE - DASHBOARD   ")
        print("=================================================")
        if os.path.exists("notifications.json"):
            with open("notifications.json", "r") as f:
                data = json.load(f)
                for note in data.get("updates", []):
                    print(f"[!] {note}")
        else:
            print("[+] No pending notifications. System stable.")
        print("=================================================")