Skip to content

Commit

Permalink
remove double slashes in path
Browse files Browse the repository at this point in the history
  • Loading branch information
fostermh committed Sep 4, 2024
1 parent e82ed22 commit 7a5053f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cioos-records-update/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ def recordUpdate():
g.write(erddap_xml)
print("wrote", erddap_filename)

git_push([xml_filename.replace('xml/', ''),
yaml_filename.replace('xml/', ''),
cff_filename.replace('xml/', ''),
erddap_filename.replace('xml/', ''),])
git_push([xml_filename.replace('//','/').replace('xml/', ''),
yaml_filename.replace('//', '/').replace('xml/', ''),
cff_filename.replace('//', '/').replace('xml/', ''),
erddap_filename.replace('//', '/').replace('xml/', ''),])
url = waf_url + basename

# returned value doesn't do anything
Expand Down

0 comments on commit 7a5053f

Please sign in to comment.