2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

fix docstrings 10

This commit is contained in:
Matthias
2022-05-28 03:39:01 +02:00
parent 6b4df40117
commit 60f13ad2e8
27 changed files with 131 additions and 360 deletions

View File

@ -64,7 +64,8 @@ class MetaBase:
def plugin_slug(self):
"""Slug of plugin
If not set plugin name slugified"""
If not set plugin name slugified
"""
slug = self.get_meta_value('SLUG', 'PLUGIN_SLUG', None)
if not slug:
slug = self.plugin_name()