FileDialog.WILDCARD_PY doesn't append .py file extension on Linux
Open
- Dominant language
- Python
- Stars
- 115
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
Example Code to reproduce issue -
``` python
from pyface.api import FileDialog, OK
def export():
dialog = FileDialog(
action='save as', wildcard=FileDialog.WILDCARD_PY
)
if dialog.open() != OK:
return
else:
filename = dialog.path
with open(filename, 'w') as f:
f.write('art.vandalay')
if __name__ == "__main__":
export()
```
Removing the wildcard argument prevents the addition of `.py` extension on all OS but it's presence doesn't seem to make any difference on Linux (Ubuntu 16.04)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.