Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski authored Aug 19, 2023
1 parent 0bcd7a3 commit 7c5de88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions upcean/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@

import upcean.validate, upcean.convert, upcean.support, upcean.getprefix, upcean.oopfuncs;
pilsupport = upcean.support.check_for_pil();
if(pilsupport):
pillowsupport = upcean.support.check_for_pillow();
if(pilsupport or pillowsupport):
cairosupport = False;
else:
cairosupport = upcean.support.check_for_cairo();
if(pilsupport or cairosupport):
if(pilsupport or pillowsupport or cairosupport):
import upcean.fonts, upcean.xml, upcean.encode, upcean.encode.getsfname;
import upcean.encode as barcodes;
if(pilsupport):
if(pilsupport or pillowsupport):
import upcean.decode;

0 comments on commit 7c5de88

Please sign in to comment.