Skip to content

Commit 25c0fd9

Browse files
committed
fix: Misuse of variable names
1 parent 95d8939 commit 25c0fd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/storage.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,6 @@ def setTrayStyle(self, style):
343343
def setScale(self, scale):
344344
self.config.set("DEFAULT", "scale", scale)
345345

346-
def save(self, type="w"):
347-
with open(self.path, type) as configfile:
346+
def save(self):
347+
with open(self.path, "w") as configfile:
348348
self.config.write(configfile)

0 commit comments

Comments
 (0)