Commits

aelmahmoudy committed 48340e6

quran: fix quran-text.txt path

  • Participants
  • Parent commits 0d97b55

Comments (0)

Files changed (1)

 
 def quran_from_path(path=None, **kwds):
     if path is None:
-        path = os.path.join(get_path('', 'noor'), 'quran-text.txt')
+        path = os.path.join(get_path('data', 'noor/data'), 'quran-text.txt')
     quran_file = open(path, 'rb')
     data = quran_file.read()
     quran_file.close()