Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -252,7 +252,7 @@ class FileProcessor:
|
|
252 |
}]
|
253 |
except Exception as e:
|
254 |
logger.error(f"File processing error: {e}")
|
255 |
-
return []
|
256 |
def generate_qr_code(json_data):
|
257 |
"""Generate a QR code from JSON data."""
|
258 |
qr = qrcode.make(json_data)
|
|
|
252 |
}]
|
253 |
except Exception as e:
|
254 |
logger.error(f"File processing error: {e}")
|
255 |
+
return []
|
256 |
def generate_qr_code(json_data):
|
257 |
"""Generate a QR code from JSON data."""
|
258 |
qr = qrcode.make(json_data)
|