Tests: Flake8, Rakefile
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
import qrcode
|
||||
import tempfile
|
||||
import os
|
||||
|
||||
|
||||
class QRCodeGenerator:
|
||||
@@ -11,7 +9,7 @@ class QRCodeGenerator:
|
||||
self.url = url
|
||||
|
||||
def generate_qr(self):
|
||||
"""Genera un código QR a partir de la URL y lo guarda en un archivo temporal."""
|
||||
"""Genera un código QR a partir de la URL"""
|
||||
qr = qrcode.QRCode(
|
||||
version=1,
|
||||
error_correction=qrcode.constants.ERROR_CORRECT_L,
|
||||
|
||||
Reference in New Issue
Block a user