organize import, whitespace
This commit is contained in:
@@ -6,10 +6,7 @@ import qrcode.exceptions
|
||||
from PyQt6.QtGui import QColor, QPen
|
||||
import PyQt6.QtGui as QtGui
|
||||
from PyQt6.QtCore import Qt, QRect
|
||||
from PyQt6.QtWidgets import (
|
||||
QApplication, QVBoxLayout, QTextEdit, QHBoxLayout, QPushButton, QWidget,
|
||||
QFileDialog,
|
||||
)
|
||||
from PyQt6.QtWidgets import QApplication, QVBoxLayout, QHBoxLayout, QPushButton, QWidget
|
||||
|
||||
from electrum.i18n import _
|
||||
from electrum.simple_config import SimpleConfig
|
||||
@@ -54,7 +51,6 @@ class QRCodeWidget(QWidget):
|
||||
|
||||
self.update()
|
||||
|
||||
|
||||
def paintEvent(self, e):
|
||||
if not self.data:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user