Closed ivanhercaz closed 5 years ago
Make an independent file for the Utilities class (utils.py). Tasks to do:
Utilities
utils.py
bot.py
u = Utilities()
import utils as u
def removeFullStop(edit):
fsc.checkDesc(query, edit)
if name == 'main':
edit = u.editMode()
removeFullStop(edit)
- [x] Update the calls to the Utilities class after the replacement of `u = bot.Utilities()` in `fullstopschecker.py` by `import utils as u`.
Fixed with 75a3ff709e5abe4c71bcd28c1c99b18d0d4f9622!
Make an independent file for the
Utilities
class (utils.py
). Tasks to do:utils.py
.bot.py
deleting the repeatedu = Utilities()
to something like:def removeFullStop(edit):
Code
if name == 'main':
Code
After the projects prompt
edit = u.editMode()
Before the available tasks prompt
Then, in the specific task it pass edit as an argument:
removeFullStop(edit)