Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed Nov 19, 2024
1 parent 7754ef2 commit e000b51
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions backend/load_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def load_sample_data(config):

if result is not None and result > 0:
print(f"Districtr map {name} already exists.")

args = [
"python3",
"cli.py",
Expand All @@ -97,9 +97,9 @@ def load_sample_data(config):
if is_shatterable:
args.append("--child-layer-name")
args.append(view["child_layer_name"])

subprocess.run(args)

if is_shatterable:
subprocess.run(
[
Expand All @@ -112,7 +112,6 @@ def load_sample_data(config):
)



if __name__ == "__main__":
# Correctly open the config.json file and read its contents
with open(path.join(DATA_DIR, "config.json")) as config_file:
Expand Down

0 comments on commit e000b51

Please sign in to comment.