Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: v1.0.22 #43

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions ddcUtils/conf_file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ def set_value(self, file_path: str, section_name: str, config_name: str, new_val
raise FileNotFoundError(errno.ENOENT, os.strerror(errno.ENOENT), file_path)
parser = self._get_default_parser()
parser.read(file_path)
if isinstance(new_value, str):
new_value = f'"{new_value}"'
parser.set(section_name, config_name, new_value)
try:
with open(file_path, "w") as configfile:
Expand Down
2 changes: 1 addition & 1 deletion ddcUtils/databases/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
from .postgres import DBPostgres, DBPostgresAsync
from .sqlite import DBSqlite

__all__ = ("DBUtils", "DBPostgres", "DBSqlite")
__all__ = ("DBUtils", "DBPostgres", "DBPostgresAsync", "DBSqlite")
Loading