mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
print a warning to help w debugging cardset load.
See https://github.com/shlomif/PySolFC/issues/83 .
This commit is contained in:
parent
80ddc75992
commit
a1219f6db1
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ class Images:
|
||||||
# print '__loadCard:', filename
|
# print '__loadCard:', filename
|
||||||
f = os.path.join(self.cs.dir, filename)
|
f = os.path.join(self.cs.dir, filename)
|
||||||
if not os.path.exists(f):
|
if not os.path.exists(f):
|
||||||
|
print('card image path %s does not exist' % (f))
|
||||||
return None
|
return None
|
||||||
try:
|
try:
|
||||||
img = loadImage(file=f)
|
img = loadImage(file=f)
|
||||||
|
|
Loading…
Add table
Reference in a new issue