added generation exception while creating tox_options instance

This commit is contained in:
ingvar1995 2016-02-20 19:53:42 +03:00
parent 0269b81319
commit 6754b2bbbf
2 changed files with 19 additions and 4 deletions

View file

@ -4,7 +4,7 @@ from mainscreen import MainWindow
from profile import Profile
import sys
from PySide import QtCore, QtGui
from tox import Tox
from tox import Tox, tox_factory
from bootstrap import node_generator
@ -76,7 +76,7 @@ def main():
data = Profile.open_profile(path, name)
ms = MainWindow()
# creating tox instance
tox = Tox(data, settings)
tox = tox_factory(data, settings)
# bootstrap
for data in node_generator():
tox.bootstrap(*data)