Closed JuanjoSalvador closed 4 years ago
The Utils class should not be a class, actually is just a bunch of common functions joined into a single file. So, we can import that functions without instanciate a class.
Utils
Instead of using
from NyaaPy.utils import Utils utils = Utils()
we can use just
from Nyaa import utils utils.myFunction()
Related: #21
Fixed by @geraldobraz.
The
Utils
class should not be a class, actually is just a bunch of common functions joined into a single file. So, we can import that functions without instanciate a class.Instead of using
we can use just
Related: #21