sunnah-com / corrections

55 stars 35 forks source link

Make app.py clean and remove repeat imports #88

Open abdulmuizz0903 opened 2 years ago

abdulmuizz0903 commented 2 years ago

Assalamualaikum

  1. A module was imported twice

    • extensions(from mail module) was imported twice so I corrected this.
  1. You were using a bad practice of importing modules in the middle.

    • You were importing modules in between of the code which is considered as a bad practice. So I imported all of them at start.

May Allah bless you

edrisranjbar commented 2 years ago

I think this commit is good and should be merged! Thanks @abdulmuizz0903