mousvai commited on
Commit
f1891dd
·
verified ·
1 Parent(s): 63900ca

Update htmlTemplates.py

Browse files
Files changed (1) hide show
  1. htmlTemplates.py +1 -1
htmlTemplates.py CHANGED
@@ -2,7 +2,7 @@ import base64
2
  import os
3
 
4
  def get_base64_image(path: str) -> str:
5
- """خواندن فایل عکس و تبدیل به base64"""
6
  if not os.path.exists(path):
7
  raise FileNotFoundError(f"Avatar not found: {path}")
8
  with open(path, "rb") as f:
 
2
  import os
3
 
4
  def get_base64_image(path: str) -> str:
5
+ """خواندن فایل عکس و تبدیل به base64"""
6
  if not os.path.exists(path):
7
  raise FileNotFoundError(f"Avatar not found: {path}")
8
  with open(path, "rb") as f: