Ahmed9089 commited on
Commit
68dee42
ยท
verified ยท
1 Parent(s): 7fa19dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ code_blocks = re.findall(pattern, text)
5
 
6
  def save_code_to_file(code):
7
  """ุญูุธ ุงู„ูƒูˆุฏ ููŠ ู…ู„ู ู…ุคู‚ุช ู„ุชู…ูƒูŠู† ุงู„ู…ุณุชุฎุฏู… ู…ู† ุชุญู…ูŠู„ู‡."""
8
- if not code.strip():
9
  return None
10
  file_path = "codek_output.txt"
11
  try:
 
5
 
6
  def save_code_to_file(code):
7
  """ุญูุธ ุงู„ูƒูˆุฏ ููŠ ู…ู„ู ู…ุคู‚ุช ู„ุชู…ูƒูŠู† ุงู„ู…ุณุชุฎุฏู… ู…ู† ุชุญู…ูŠู„ู‡."""
8
+ if not code or not code.strip():
9
  return None
10
  file_path = "codek_output.txt"
11
  try: