Skip to content

Commit e098307

Browse files
authored
Merge pull request #184 from robotpy/2027-no-version-write
start: Remove version write
2 parents 4d656b7 + 06adf71 commit e098307

File tree

1 file changed

+0
-13
lines changed
  • subprojects/robotpy-wpilib/wpilib/_impl

1 file changed

+0
-13
lines changed

subprojects/robotpy-wpilib/wpilib/_impl/start.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -225,19 +225,6 @@ def _start(self, robot_cls: wpilib.RobotBase) -> bool:
225225
# )
226226
# return False
227227

228-
if not isSimulation:
229-
robotpy_version = self.robotpy_version
230-
if robotpy_version:
231-
version_string = f"RobotPy {robotpy_version}"
232-
else:
233-
version_string = f"robotpy-wpilib {wpilib.__version__}"
234-
235-
try:
236-
with open("/tmp/frc_versions/FRC_Lib_Version.ini", "w") as fp:
237-
fp.write(version_string)
238-
except:
239-
reportErrorInternal("Could not write FRC version file to disk")
240-
241228
try:
242229
self.robot.startCompetition()
243230
except KeyboardInterrupt:

0 commit comments

Comments
 (0)