Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
satcfdi committed Mar 21, 2024
1 parent 5834db5 commit 46c6b23
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions satdigitalinvoice/file_data_managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ def last_modified(self):
return os.path.getmtime(self.file_source)




class ConfigManager(LocalData):
file_source = "config.yaml"

Expand Down Expand Up @@ -184,7 +182,7 @@ def decimal_constructor(loader, node):


def represent_decimal(dumper, data):
return dumper.represent_scalar('tag:yaml.org,2002:str', str(data))
return dumper.represent_scalar('!decimal', data.__format__("f"))


def represent_str(dumper, data):
Expand Down

0 comments on commit 46c6b23

Please sign in to comment.