Code cleanup and improvements.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import asdict, dataclass
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
import hashlib
|
||||
import json
|
||||
@@ -266,10 +266,6 @@ def launch_official_updater(
|
||||
)
|
||||
|
||||
|
||||
def patch_result_dict(result: LauncherPatchResult) -> dict[str, object]:
|
||||
return asdict(result)
|
||||
|
||||
|
||||
def _sha256(path: Path) -> str:
|
||||
digest = hashlib.sha256()
|
||||
with path.open("rb") as handle:
|
||||
|
||||
Reference in New Issue
Block a user