Shell to Python Continuous Deployment spcd.rwx.work
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

lower,valueerror

+5 -1
+5 -1
spcd/act.py
··· 28 28 d = {} 29 29 for variable, value in sorted(projects.environment.items()): 30 30 if variable.startswith(PREFIX): 31 - d[variable.removeprefix(PREFIX)] = literal_eval(value) 31 + name = variable.removeprefix(PREFIX).lower() 32 + try: 33 + d[name] = literal_eval(value) 34 + except ValueError: 35 + d[name] = value 32 36 return d 33 37 34 38