ca n'est plus nescessaire et ca pose probleme pour certain pdf.
darcs-hash:20070913213244-dc76e-6262a836ea64e82e153cdaac9d943284d485f413.gz
This commit is contained in:
parent
b95268702e
commit
1838d55b81
1 changed files with 0 additions and 1 deletions
|
@ -205,7 +205,6 @@ class impression:
|
|||
raise FichierInvalide, ("Fichier introuvable", path_to_pdf)
|
||||
if not open(path_to_pdf).read().startswith("%PDF"):
|
||||
raise FichierInvalide, ("Le fichier ne semble pas etre un PDF", path_to_pdf)
|
||||
os.system("/usr/scripts/impression/compatibilise %s" % escapeForShell( path_to_pdf ) )
|
||||
self._adh = adh
|
||||
# calcule le prix de l'encre tout de suite
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue