Skip to content

Commit 8a93c7a

Browse files
Quick lint changes
Signed-off-by: Shahm Najeeb <[email protected]>
1 parent 1be3c6c commit 8a93c7a

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

.idea/csv-editor.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

CODE/dump_memory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def gather_system_info():
7979
log.error(f"Error gathering system information: {e}")
8080
sys_info = {'Error': 'Failed to gather system information'}
8181
try:
82-
with open(os.path.join(DUMP_DIR, "SystemRam_Info.txt"), "w") as file:
82+
with open(os.path.join(DUMP_DIR, "SystemRam_Info.txt"), "w", encoding="utf-8") as file:
8383
for key, value in sys_info.items():
8484
file.write(f"{key}: {value}\n")
8585
except Exception as e:
@@ -98,7 +98,7 @@ def memory_dump():
9898
try:
9999
process = psutil.Process(pid)
100100
dump_path = os.path.join(DUMP_DIR, "Ram_Dump.txt")
101-
with open(dump_path, "wb") as dump_file:
101+
with open(dump_path, "wb", encoding="utf-8") as dump_file:
102102
total_size = 0
103103

104104
# Disk space safety check

CODE/logicytics/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ def wrapper(*args, **kwargs) -> callable:
104104
return decorator
105105

106106

107-
__all__ = ['execute', 'get', 'check', 'flag', 'file_management', 'deprecated', 'ObjectLoadError']
107+
__all__ = ['execute', 'get', 'check', 'flag', 'file_management', 'deprecated', 'ObjectLoadError', 'log', 'Log']

0 commit comments

Comments
 (0)