Commit 8956bd98 authored by mitshel's avatar mitshel
Browse files

В случае отсутсвия обложки при необходимости ее показа на лету показывается файл nocover.jpg

parent f46e2489
Loading
Loading
Loading
Loading

py/image.jpg

0 → 100644
+142 KiB
Loading image diff...

py/o.jpg

0 → 100644
+0 −0

Empty file added.

+9 −2
Original line number Diff line number Diff line
@@ -543,8 +543,15 @@ elif type_value==99:
           c0=0

   if c0==0: 
      print('Status: 404 Not Found')
      print()
#      print('Status: 404 Not Found')
#      print()
      enc_print('Content-Type: image/jpeg')
      enc_print()
      f=open('sopds.jpg',"rb")
      sys.stdout.buffer.write(f.read())
      f.close()

      

   opdsdb.closeDB()

py/sopds.jpg

0 → 100644
+6.44 KiB
Loading image diff...