Skip to content

Commit

Permalink
Removing commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
SeqLaz committed Oct 3, 2024
1 parent e15a317 commit 5f6c200
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libqfieldsync/utils/qgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def make_temp_qgis_file(project: QgsProject) -> str:
project_backup_dir = tempfile.mkdtemp()
original_filename = project.fileName()
backup_filename = os.path.join(project_backup_dir, f"{project.baseName()}.qgs")
# NOTE: This makes the conversion of the project mess with the datasource on Windows
# project.write(backup_filename)
project.write(backup_filename)
project.setFileName(original_filename)

return backup_filename
Expand Down

0 comments on commit 5f6c200

Please sign in to comment.