Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vapao committed Sep 22, 2021
1 parent ad5a232 commit f1c6d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spug_api/tools/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __gt__(self, other):
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):
Expand Down

0 comments on commit f1c6d0d

Please sign in to comment.