wok-next view pysolfc/stuff/patches/pysolfc.patch @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents
children
line source
1 --- a/data/pysol.desktop
2 +++ b/data/pysol.desktop
3 @@ -1,7 +1,7 @@
4 [Desktop Entry]
5 Encoding=UTF-8
6 Name=PySol Fan Club Edition
7 -Exec=pysol.py
8 +Exec=pysol
9 Terminal=false
10 Type=Application
11 Categories=Game;CardGame;
12 --- a/scripts/cardset_viewer.py
13 +++ b/scripts/cardset_viewer.py
14 @@ -7,7 +7,7 @@
15 from math import sqrt, sin, cos, pi
16 from Tkinter import *
17 try:
18 - import Image, ImageTk
19 + from PIL import Image, ImageTk
20 except ImportError:
21 Image = None
23 --- a/pysollib/mfxutil.py
24 +++ b/pysollib/mfxutil.py
25 @@ -48,11 +48,11 @@
26 Image = None
27 else:
28 # for py2exe
29 - import GifImagePlugin
30 - import PngImagePlugin
31 - import JpegImagePlugin
32 - import BmpImagePlugin
33 - import PpmImagePlugin
34 + from PIL import GifImagePlugin
35 + from PIL import PngImagePlugin
36 + from PIL import JpegImagePlugin
37 + from PIL import BmpImagePlugin
38 + from PIL import PpmImagePlugin
39 Image._initialized = 2