Permalink
Browse files

fix encoding

  • Loading branch information...
sdpython committed Mar 23, 2015
1 parent fd97b20 commit 2f8f16e1a6453a2948df53c8779b436b21b1d90a
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/code_beatrix/scratchs/__init__.py
@@ -4,20 +4,22 @@
#from .example_echiquier import check as check1
def check1():
"""
vérifie que certains fichiers sont ici
basic checkings
"""
dirname = os.path.dirname(__file__)
f1 = os.path.exists(dirname, "echiquier.sb2")
if not os.path.exists(f1):
raise FileNotFoundError(f1)
f0 = os.path.exists(dirname, "echiquier0.sb2")
if not os.path.exists(f0):
raise FileNotFoundError(f0)
raise FileNotFoundError(f0)
def check():
"""
run checking functions
"""
check1()
check1()

0 comments on commit 2f8f16e

Please sign in to comment.