mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Fixes pour la mise à jour de mars (#598)
This commit is contained in:
committed by
Julien Constant
parent
8e7c025e47
commit
f605f7dcc6
@ -14,6 +14,7 @@
|
||||
#
|
||||
#
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import re
|
||||
|
||||
@ -71,6 +72,10 @@ def get_semester(d=date.today()):
|
||||
return "A" + str(start.year)[-2:]
|
||||
|
||||
|
||||
def file_exist(path):
|
||||
return os.path.exists(path)
|
||||
|
||||
|
||||
def scale_dimension(width, height, long_edge):
|
||||
if width > height:
|
||||
ratio = long_edge * 1.0 / width
|
||||
|
Reference in New Issue
Block a user