Skip to content

Commit

Permalink
Fixing CI
Browse files Browse the repository at this point in the history
  • Loading branch information
idomic committed Feb 14, 2022
1 parent 5dfdd24 commit c56387d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ploomber/telemetry/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,10 @@ def read_conf_file(conf_path):
try:
with conf_path.open("r") as file:
conf = yaml.safe_load(file)
return conf
except Exception as e:
warnings.warn(f"Error: Can't read config file {e}")
return conf
return {}


def write_conf_file(conf_path, to_write, error=None):
Expand Down

0 comments on commit c56387d

Please sign in to comment.