diff --git a/Drone/animation_lib.py b/Drone/animation_lib.py index 3906ac2..c78cbda 100644 --- a/Drone/animation_lib.py +++ b/Drone/animation_lib.py @@ -36,7 +36,7 @@ def get_id(filepath="animation.csv"): try: animation_file = open(filepath) except IOError: - logger.error("File {} can't be opened".format(filepath)) + logger.debug("File {} can't be opened".format(filepath)) anim_id = "No animation" return anim_id else: @@ -57,7 +57,7 @@ def get_start_xy(filepath="animation.csv", x_ratio=1, y_ratio=1, z_ratio=1): try: animation_file = open(filepath) except IOError: - logger.error("File {} can't be opened".format(filepath)) + logger.debug("File {} can't be opened".format(filepath)) anim_id = "No animation" return float('nan'), float('nan') else: @@ -89,7 +89,7 @@ def load_animation(filepath="animation.csv", x0=0, y0=0, z0=0, x_ratio=1, y_rati try: animation_file = open(filepath) except IOError: - logging.error("File {} can't be opened".format(filepath)) + logger.debug("File {} can't be opened".format(filepath)) anim_id = "No animation" else: with animation_file: