ricklon commited on
Commit
4717b82
·
1 Parent(s): 909adc2

fix function logo_file)info

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ def create_postcard(name, tagline, description, events, location, hours, contact
6
  dwg = Drawing(size=("200mm", "100mm"))
7
 
8
  # Assume the logo is a PIL Image; convert to base64 to embed in SVG
9
- if logo is not None:
10
  import base64
11
  from io import BytesIO
12
  buffer = BytesIO()
 
6
  dwg = Drawing(size=("200mm", "100mm"))
7
 
8
  # Assume the logo is a PIL Image; convert to base64 to embed in SVG
9
+ if logo_file_info is not None:
10
  import base64
11
  from io import BytesIO
12
  buffer = BytesIO()