make format

This commit is contained in:
Suhas 2021-01-28 08:40:28 -05:00
parent 983c9c8c4b
commit 528ce1efe2
5 changed files with 48 additions and 44 deletions

View file

@ -4,7 +4,6 @@
import argparse
import re
import textwrap
import json
from .commands import postconfig_decrypt
from .commands import postconfig_encrypt
@ -24,11 +23,11 @@ def deserialize_config_args(input: str) -> dict:
for _p in _kvpairs:
l, r = _p.strip().split(":")
r = r.strip()
if r.isdigit():
r = int(r)
elif r.lower() == "true":
r = True
elif r.lower() == "false":
if r.isdigit():
r = int(r)
elif r.lower() == "true":
r = True
elif r.lower() == "false":
r = False
runtime_modifications[l] = r
return runtime_modifications