Skip to content

Commit 3986dfe

Browse files
apps.py: remove unused function
1 parent 7c650a3 commit 3986dfe

File tree

1 file changed

+0
-12
lines changed
  • internal_filesystem/lib/mpos

1 file changed

+0
-12
lines changed

internal_filesystem/lib/mpos/apps.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -159,18 +159,6 @@ def parse_manifest(manifest_path):
159159
print(f"parse_manifest: error loading manifest_path: {manifest_path}")
160160
return default_app
161161

162-
def long_path_to_filename(path):
163-
try:
164-
if not path or not isinstance(path, str):
165-
return None
166-
# Extract filename using rsplit and take the last part
167-
filename = path.rsplit('/', 1)[-1]
168-
# Limit to the first 7 characters
169-
return filename[:7]
170-
except Exception as e:
171-
print(f"Error extracting filename: {str(e)}")
172-
return None
173-
174162
def auto_connect():
175163
# A generic "start at boot" mechanism hasn't been implemented yet, so do it like this:
176164
custom_auto_connect = "apps/com.example.wificonf/assets/auto_connect.py"

0 commit comments

Comments
 (0)