Upload 28 files
Browse files61 unmodified lines6263646566676869707172737461 unmodified linesreturn {"hours": hours, "minutes": minutes, "seconds": seconds}def is_default_cred(self):username = self.config["dashboard"]["username"]password = self.config["dashboard"]["password"]return (username == "astrbot"and password == "77b90590a8945a7d36c963981a307dc9"and not DEMO_MODE)async def get_version(self):need_migration = await check_migration_needed_v4(self.core_lifecycle.db)61 unmodified lines6263646566676861 unmodified linesreturn {"hours": hours, "minutes": minutes, "seconds": seconds}def is_default_cred(self):return Falseasync def get_version(self):need_migration = await check_migration_needed_v4(self.core_lifecycle.db)
astrbot/dashboard/routes/stat.py+1-7