mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
Added args to Generator __call__
This commit is contained in:
@@ -22,8 +22,8 @@ class Generator:
|
|||||||
self.id
|
self.id
|
||||||
) + " " + self.title + " " + self.generalProb + " " + self.generalSol
|
) + " " + self.title + " " + self.generalProb + " " + self.generalSol
|
||||||
|
|
||||||
def __call__(self, **kwargs):
|
def __call__(self, *args, **kwargs):
|
||||||
return self.func(**kwargs)
|
return self.func(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
def getGenList():
|
def getGenList():
|
||||||
|
|||||||
Reference in New Issue
Block a user