Every plugin needs a gramps_target_version for 3.2+
svn: r14341
This commit is contained in:
parent
dc3c37c471
commit
06bc6a8a8f
@ -140,6 +140,7 @@ def valid_plugin_version(plugin_version_string):
|
||||
Checks to see if string is a valid version string for this version
|
||||
of Gramps.
|
||||
"""
|
||||
if not isinstance(plugin_version_string, basestring): return False
|
||||
dots = plugin_version_string.count(".")
|
||||
if dots == 1:
|
||||
plugin_version = tuple([int(n) for n in
|
||||
|
Loading…
Reference in New Issue
Block a user