Skip db migration in windows
This commit is contained in:
parent
7bd05e9b16
commit
3f95c1a9d5
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue