diff --git a/generate_theoric_random_graph.py b/generate_theoric_random_graph.py
index d2e1d91adb577c8ce8010545ce86bc3cbd0c066c..2f6f54130391ccbc114ef02076a3d734976a25cf 100644
--- a/generate_theoric_random_graph.py
+++ b/generate_theoric_random_graph.py
@@ -27,7 +27,7 @@ def generate_sbm_prob_matrix(nb_of_blocks,prob_btw_block=0.1):
 
 GRAPH_SIZE = [50,75,100]
 OUTPUT_DIR = args.output_dir
-if os.path.exist(OUTPUT_DIR):
+if os.path.exists(OUTPUT_DIR):
     raise FileExistsError("Output directory does not exists !")
 
 parameters = {