Add code owners (#55)

* Add code owners

* slight f1 23 fix
This commit is contained in:
nharris-lmg
2023-09-28 14:27:59 -07:00
committed by GitHub
parent 8f8ca9c0f2
commit 00f73452f8
2 changed files with 2 additions and 1 deletions

1
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1 @@
* @LTTLabsOSS/lttlabs

View File

@@ -6,7 +6,7 @@ import re
def get_resolution() -> tuple[int]:
"""Gets resolution width and height from local xml file created by game."""
username = os.getlogin()
config_path = f"C:\\Users\\{username}\\Documents\\My Games\\F1 22\\hardwaresettings"
config_path = f"C:\\Users\\{username}\\Documents\\My Games\\F1 23\\hardwaresettings"
config_filename = "hardware_settings_config.xml"
resolution = re.compile(r"<resolution width=\"(\d+)\" height=\"(\d+)\"")
cfg = f"{config_path}\\{config_filename}"