Skip db migration in windows

This commit is contained in:
David Amrhein 2016-07-30 17:09:38 -04:00
parent 7bd05e9b16
commit 3f95c1a9d5

View file

@ -1,9 +1,12 @@
import logging
import os
def migrate_db(db_dir, start, end):
current = start
old_dirs = []
if os.name == "nt":
return old_dirs
while current < end:
if current == 0:
from lbrynet.db_migrator.migrate0to1 import do_migration