Skip to content

Commit

Permalink
Fix lint error for rename plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix committed Nov 7, 2023
1 parent 71a3fbc commit a1e7a14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qgis-app/plugins/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def clean(self):
f"Plugin name mismatch: the plugin name in the metadata.txt file ({self.cleaned_data.get('name')}) is different from the plugin name ({self.instance.plugin.name})."
)
)

# Check plugin folder name
if (
self.cleaned_data.get("package_name")
Expand Down
4 changes: 2 additions & 2 deletions qgis-app/plugins/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,13 @@ class Plugin(models.Model):
name = models.CharField(
_("Name"), help_text=_("Must be unique"), max_length=256, unique=True
)

allow_update_name = models.BooleanField(
_("Allow update name"),
help_text=_("Allow name in metadata.txt to update the plugin name"),
default=False
)

description = models.TextField(_("Description"))
about = models.TextField(_("About"), blank=False, null=True)

Expand Down

0 comments on commit a1e7a14

Please sign in to comment.