Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove temporary directory if it is empty and check if the xml file was copied from the device #389

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

sunavlis
Copy link
Collaborator

@sunavlis sunavlis commented Feb 3, 2023

This pull request deletes the temporary created directory used for the intermediate files (XML files) loaded via register map.
It checks if the directory is empty and deletes only an empty directory.

Additional it checks if the XML file was loaded via register map or located on the host file system. In case of a local xml file, the _remove_intermediate_file isn't called and the file not deleted. fix #358

…file method

check if the xml (intermediate) file was copied from the external device or not
fix genicam#358
@kazunarikudo kazunarikudo merged commit a270eff into genicam:master Feb 5, 2023
@kazunarikudo
Copy link
Member

@sunavlis Hi Silvan, thank you for the PR and the message you sent to me offline. I will reply to the message in the following days. Regards, Kazunari.

@kazunarikudo kazunarikudo added this to the 1.4.2 milestone Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

harvesters deletes locally sourced camera xml
2 participants