Comments (4)
created pull request for the same
from snapper-gui.
Looking at the doc. https://docs.python.org/3/library/functions.html#open The default open mode is already text mode or we can use as below?
The type of file object returned by the open() function depends on the mode. When open() is used to open a file in a text mode ('w', 'r', 'wt', 'rt', etc.), it returns a subclass of io.TextIOBase (specifically io.TextIOWrapper).
from snapper-gui.
Looking at the doc. https://docs.python.org/3/library/functions.html#open The default open mode is already text mode or we can use as below?
The type of file object returned by the open() function depends on the mode. When open() is used to open a file in a text mode ('w', 'r', 'wt', 'rt', etc.), it returns a subclass of io.TextIOBase (specifically io.TextIOWrapper).
Just dropping the mode should be enough. Thanks for reporting of this regression.
from snapper-gui.
created pull request for the same
I can confirm that this fixes this issue for me.
from snapper-gui.
Related Issues (20)
- When creating snapshot: dbus.exceptions.DBusException: error.unknown_config: org.freedesktop.DBus.Error.Failed HOT 3
- dbus.exceptions.DBusException when trying to find file difference HOT 1
- change default file browser HOT 3
- Upcoming Fedora 33 HOT 3
- cannot acces properties menu, no menu in gui HOT 7
- Installed, but cannot run on Ubuntu 18.04 HOT 2
- Add polkit support with pkexec and xhost ? HOT 4
- snapper-gui doesn't launch, how to remove & clean install? HOT 1
- How can I remove snapper-gui? HOT 3
- Suse Tumbleweed 32 bit error HOT 1
- SnapperGUI doesn't work unless called as sudo HOT 2
- Non latin symbols in description
- The file or folder /home/.snapshots/1/snapshot does not exist.
- how to uninstall HOT 3
- translation support
- "Open" button not available with sudo HOT 2
- "Changes" button is gray and cannot be clicked
- Freezes / Stuck when trying to create new snapshot on Fedora 38 HOT 2
- node children python TypeError: 'NoneType' object does not support item assignment HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapper-gui.