fix up string manipulation

This commit is contained in:
brmnjsh 2023-09-15 19:40:35 +00:00
parent ae4ed690f7
commit fff85981b1
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
import re
def boolean_to_int(value: bool) -> int:
if value:

View File

@ -1,4 +1,4 @@
import logging, json, re
import logging, json
from helpers import aws_helper, tar_helper, common_helper
@ -21,6 +21,6 @@ class Base:
# get attributes file and convert to dict
attributes = json.loads(
tar_helper.extract_file_from_tar(
self.tar, f'{camel_to_snake(self.ACTION)}_attributes.json').read())
self.tar, f'{common_helper.camel_to_snake(self.ACTION)}_attributes.json').read())
return attributes