format code
This commit is contained in:
@@ -2,6 +2,7 @@ from .sources.Ui_dialog_extendLoanDuration import Ui_Dialog
|
||||
from PyQt6 import QtWidgets, QtCore
|
||||
from src.utils import Icon
|
||||
|
||||
|
||||
class ExtendLoan(QtWidgets.QDialog, Ui_Dialog):
|
||||
def __init__(self, user, media):
|
||||
super(ExtendLoan, self).__init__()
|
||||
@@ -17,9 +18,9 @@ class ExtendLoan(QtWidgets.QDialog, Ui_Dialog):
|
||||
self.buttonBox.accepted.connect(self.extendLoan)
|
||||
|
||||
def extendLoan(self):
|
||||
#print("Extend Loan")
|
||||
# print("Extend Loan")
|
||||
selectedDate = self.extenduntil.selectedDate()
|
||||
#print(selectedDate)
|
||||
# print(selectedDate)
|
||||
self.extendDate = selectedDate
|
||||
self.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user