Fix error when printing the 'NoSuitableDatabase' error.

This commit is contained in:
Valentin Lorentz 2016-11-01 21:36:14 +01:00
parent f6419525ee
commit 14180a24ec

View File

@ -43,7 +43,7 @@ from ..commands import *
class NoSuitableDatabase(Exception):
def __init__(self, suitable):
self.suitable = suitable
self.suitable = list(suitable)
self.suitable.sort()
def __str__(self):