naming fixes

This commit is contained in:
Fabian Dill 2020-01-30 23:03:54 +01:00
parent 42d4837cc0
commit 76f27ca7fd
2 changed files with 2 additions and 1 deletions

View File

@ -138,6 +138,8 @@ def roll_settings(weights):
ret = argparse.Namespace()
ret.name = get_choice('name')
if ret.name:
ret.name = ret.name.replace(" ", "-").replace("_", "-")
glitches_required = get_choice('glitches_required')
if glitches_required not in ['none', 'no_logic']:
print("Only NMG and No Logic supported")

View File

@ -427,7 +427,6 @@ class CreditLine(object):
@property
def x(self):
x = 0
if self.align == 'left':
x = 0
elif self.align == 'right':