Skip to content

Commit

Permalink
fix issue while iterating through keyfile paths
Browse files Browse the repository at this point in the history
  • Loading branch information
karangattu committed Mar 20, 2024
1 parent 58a59a7 commit c65ef33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fieldsurveys/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def copy_app_files(
_copy_file(file, app_dir)
# rename the file to keyfile.json no matter what user specified
os.rename(
os.path.join(app_dir, os.path.basename(keyfile)),
os.path.join(app_dir, os.path.basename(file)),
os.path.join(app_dir, "keyfile.json")
)

Expand Down

0 comments on commit c65ef33

Please sign in to comment.