We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29234f0 commit 58e542dCopy full SHA for 58e542d
easierfile/file.py
@@ -56,7 +56,7 @@ def __del__(self):
56
def __lock(self, is_lock):
57
if self.status["exist"]:
58
if is_lock:
59
- self.__m_file = open(self.__m_info["path"], "w")
+ self.__m_file = open(self.__m_info["path"])
60
_lock_file(self.__m_file)
61
self.__m_is_lock = is_lock
62
else:
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "easierfile"
3
-version = "2.1.0"
+version = "2.2.0"
4
description = "An easier-to-use Python package that object-oriented encapsulates Python traditional built-in file operations."
5
license = "MIT"
6
authors = ["leoweyr <[email protected]>"]
0 commit comments