Skip to content

Commit

Permalink
#59: Migrate to version '0'.
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermechapiewski committed Oct 5, 2009
1 parent d9fdf6f commit b9e92a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Expand Up @@ -49,7 +49,7 @@ def get_destination_version(self):
if destination_version is None:
destination_version = self.db_migrate.latest_version_available()

if not self.db_migrate.check_if_version_exists(destination_version):
if destination_version is not '0' and not self.db_migrate.check_if_version_exists(destination_version):
raise Exception("version not found (%s)" % destination_version)

return destination_version
Expand Down

0 comments on commit b9e92a6

Please sign in to comment.