Skip to content

Commit

Permalink
f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
juleshaas committed Jul 6, 2023
1 parent 31ecf80 commit 3c256c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i.sentinel_2.vrt.index/i.sentinel_2.vrt.index.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def main():
grass.message(
_(f"Only one raster dataset found for band {band}. Copying...")
)
rename_str = "%s,%s" % (current_bands_list[0], vrt_name)
rename_str = f"{current_bands_list[0]},{vrt_name}"
grass.run_command("g.copy", raster=rename_str, overwrite=True)
else:
grass.fatal(
Expand Down

0 comments on commit 3c256c0

Please sign in to comment.