fix for remove args. (#20)

This commit is contained in:
CaitSith2 2020-01-30 13:58:01 -08:00 committed by GitHub
parent 588319ea72
commit 42d4837cc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def main():
path = getattr(args, f'p{player}') if getattr(args, f'p{player}') else args.weights
if path:
try:
settings = settings_cache[path] if settings_cache[path] else roll_settings(weights_cache[path], path)
settings = settings_cache[path] if settings_cache[path] else roll_settings(weights_cache[path])
for k, v in vars(settings).items():
if v is not None:
getattr(erargs, k)[player] = v