Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit de29b6f

Browse files
committed
config_setup.py clean up
1 parent a44accc commit de29b6f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

config_setup.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,3 @@ def load_credentials_from_config():
1616
config_data = toml.load(config_file)
1717
return config_data.get("LEETCODE_SESSION"), config_data.get("CSRF_TOKEN")
1818
return None, None
19-
20-
21-
def create_python_code_edit_file(question_id, title_slug, python3_code):
22-
if python3_code is None:
23-
print(f"No Python3 code snippet found for question '{question_id}'.")
24-
return
25-
26-
file_name = f"code_editor/{question_id}_{title_slug}.py"
27-
with open(file_name, "w") as file:
28-
file.write(python3_code.code)

0 commit comments

Comments
 (0)