diff --git a/plotter/Args.py b/plotter/Args.py
index e52ec38366de994dbe1c6639e3f0502a9c95d4d8..7a588547c5c7365a98f64ed07448739ac180009e 100644
--- a/plotter/Args.py
+++ b/plotter/Args.py
@@ -1,5 +1,11 @@
+import sys
+
 class Args:
     def __init__(self, filename, func, var=[None], mval=[None], oname=[None], out=[None], ndim = None):
+        if out == "plotter_lib_pngs/":
+            print("Output directory name can't be equal to " + out)
+            sys.exit(-1)
+    
         self.filename = filename
         self.var = var
         self.mval = mval