fix issue

pull/410/head v3.0.1-beta.10
vapao 2021-09-22 10:10:40 +08:00
parent ad5a23222f
commit f1c6d0de5b
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class Version:
if __name__ == '__main__':
old_version = Version(sys.argv[1])
now_version = Version(settings.SPUG_VERSION)
if old_version <= Version('v3.0.2'):
if old_version < Version('v3.0.2'):
old_path = os.path.join(settings.BASE_DIR, 'repos')
new_path = os.path.join(settings.REPOS_DIR)
if not os.path.exists(new_path):