Overall Update and Streamlined #11

Closed
naturallaw777 wants to merge 1034 commits from staging-dev into stable
pull from: staging-dev
Showing only changes of commit 8ea133a2a1 - Show all commits
+2 -2
View File
@@ -3293,7 +3293,7 @@ async def api_system_set_timezone(req: TimezoneRequest):
result = await loop.run_in_executor(
None,
lambda: subprocess.run(
["sudo", "timedatectl", "set-timezone", tz],
["timedatectl", "set-timezone", tz],
capture_output=True,
text=True,
timeout=15,
@@ -3336,7 +3336,7 @@ async def api_system_set_locale(req: LocaleRequest):
result = await loop.run_in_executor(
None,
lambda: subprocess.run(
["sudo", "localectl", "set-locale", f"LANG={locale}"],
["localectl", "set-locale", f"LANG={locale}"],
capture_output=True,
text=True,
timeout=15,