diff --git a/plinth/templatetags/plinth_extras.py b/plinth/templatetags/plinth_extras.py index 4b8c35af6..2ccef470b 100644 --- a/plinth/templatetags/plinth_extras.py +++ b/plinth/templatetags/plinth_extras.py @@ -41,7 +41,6 @@ def mark_active_menuitem(menu, path): urlitem['active'] = False if not path.startswith(str(urlitem['url'])): continue - # TODO: use a more suitable function instead of os.path.commonprefix match = os.path.commonprefix([urlitem['url'], path]) if len(match) > len(best_match):