Taka005 commited on
Commit
c2743bd
·
1 Parent(s): 1b69db0

警告無効化

Browse files
Files changed (1) hide show
  1. main.py +4 -0
main.py CHANGED
@@ -1,6 +1,10 @@
1
  from PIL import Image, ImageDraw, ImageFont, ImageEnhance
2
  from pilmoji import Pilmoji
3
  import textwrap
 
 
 
 
4
 
5
  BASE_GRADATION_IMAGE = Image.open("images/base-gd.png")
6
  BASE_WHITE_IMAGE = Image.open("images/base.png")
 
1
  from PIL import Image, ImageDraw, ImageFont, ImageEnhance
2
  from pilmoji import Pilmoji
3
  import textwrap
4
+ import warnings
5
+
6
+ # 警告無効化
7
+ warnings.simplefilter("ignore")
8
 
9
  BASE_GRADATION_IMAGE = Image.open("images/base-gd.png")
10
  BASE_WHITE_IMAGE = Image.open("images/base.png")