File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def on_config(self, config):
67
67
# Check if we're running the latest version
68
68
_ , version = res .headers .get ("location" ).rsplit ("/" , 1 )
69
69
package = get_distribution ("mkdocs-material" )
70
- if package .version != version :
70
+ if not package .version . startswith ( version ) :
71
71
log .error ("Please upgrade to the latest version." )
72
72
self ._help_on_versions_and_exit (package .version , version )
73
73
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def on_config(self, config):
67
67
# Check if we're running the latest version
68
68
_ , version = res .headers .get ("location" ).rsplit ("/" , 1 )
69
69
package = get_distribution ("mkdocs-material" )
70
- if package .version != version :
70
+ if not package .version . startswith ( version ) :
71
71
log .error ("Please upgrade to the latest version." )
72
72
self ._help_on_versions_and_exit (package .version , version )
73
73
You can’t perform that action at this time.
0 commit comments