Skip to content

Commit

Permalink
[req-changes] Miscellaneous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Nov 28, 2023
1 parent 5db88c1 commit a1ab1b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openwisp_utils/admin_theme/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_urls(self):
name='ow-auto-filter',
),
path(
'ow-info/',
'openwisp-system-info/',
self.admin_view(self.openwisp_info),
name='ow-info',
),
Expand Down
2 changes: 1 addition & 1 deletion openwisp_utils/admin_theme/system_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def get_enabled_openwisp_modules():
if package in EXTRA_OPENWISP_PACKAGES:
extra_packages[package] = version
continue
package_name = package.replace("-", "_")
package_name = package.replace('-', '_')
if package_name in settings.INSTALLED_APPS:
enabled_packages[package] = version
else:
Expand Down

0 comments on commit a1ab1b6

Please sign in to comment.