bugfix: handle non-existent default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
67f61eb7ec
commit
8b0eb5766a
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ class DefaultList(list):
|
|||
@classmethod
|
||||
def create(cls, initial=None):
|
||||
if initial:
|
||||
initial = initial.split('\n')
|
||||
return cls(initial)
|
||||
return cls(initial.split('\n'))
|
||||
return cls()
|
||||
|
||||
|
||||
class Emulator(object):
|
||||
|
|
Loading…
Reference in a new issue