mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2025-12-22 08:29:41 +01:00
save streamrelay change
This commit is contained in:
@@ -63,7 +63,7 @@ class StreamRelay(dict):
|
||||
|
||||
If no refs is present, delites current relay file.
|
||||
"""
|
||||
f_name = f"{path}{_FILE_NAME}_"
|
||||
f_name = f"{path}{_FILE_NAME}"
|
||||
if len(self):
|
||||
with open(f_name, "w", encoding="utf-8") as file:
|
||||
file.writelines([f"{v if v else k}{':' if v else ''}\n\n" for k, v in self.items()])
|
||||
|
||||
Reference in New Issue
Block a user