kfahn commited on
Commit
9b095c9
·
verified ·
1 Parent(s): aa95680

Update app.py

Browse files

try to fix if statement

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,8 +55,8 @@ async def capture_screenshot(image_type: str):
55
  #url = "https://openprocessing.org/sketch/2539973"
56
  url = "https://editor.p5js.org/kfahn/full/2XD5Y8MiV"
57
  image_url
58
- if (image_type):
59
- image_url = get_image_url()
60
  elif:
61
  image_url = url
62
  else:
 
55
  #url = "https://openprocessing.org/sketch/2539973"
56
  url = "https://editor.p5js.org/kfahn/full/2XD5Y8MiV"
57
  image_url
58
+ if image_type:
59
+ image_url = get_image_url(image_type)
60
  elif:
61
  image_url = url
62
  else: