From 4a8c00bf98076c7f3d80cca076a0eabe238d21fb Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Sun, 7 Jan 2024 18:05:40 +0000 Subject: [PATCH] eep_i2c.py: Fix cptest path handling. --- eeprom/i2c/eep_i2c.py | 1 - 1 file changed, 1 deletion(-) diff --git a/eeprom/i2c/eep_i2c.py b/eeprom/i2c/eep_i2c.py index 3b78893..d05030a 100644 --- a/eeprom/i2c/eep_i2c.py +++ b/eeprom/i2c/eep_i2c.py @@ -132,7 +132,6 @@ def cptest(eep=None): # Assumes pre-existing filesystem of either type print("Mounted device.") cp(__file__, "/eeprom/") # We may have the source file or a precompiled binary (*.mpy) - # suffix = __file__[__file__.rfind('.'):] cp(__file__.replace("eep", "eeprom"), "/eeprom/") print('Contents of "/eeprom": {}'.format(uos.listdir("/eeprom"))) print(uos.statvfs("/eeprom"))