summaryrefslogtreecommitdiff
path: root/libmat2/abstract.py
diff options
context:
space:
mode:
authorjvoisin2019-10-12 16:13:49 -0700
committerjvoisin2019-10-12 16:13:49 -0700
commit5f0b3beb46d09af26107fe5f80e63ddccb127a59 (patch)
treef3d46e6e9dac60daa304d212bed62b17c019f7eb /libmat2/abstract.py
parent3cef7fe7fc81c1495a461a8594b1df69467536ea (diff)
Add a way to disable the sandbox
Due to bubblewrap's pickiness, mat2 can now be run without a sandbox, even if bubblewrap is installed.
Diffstat (limited to 'libmat2/abstract.py')
-rw-r--r--libmat2/abstract.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmat2/abstract.py b/libmat2/abstract.py
index 8861966..5cfd0f2 100644
--- a/libmat2/abstract.py
+++ b/libmat2/abstract.py
@@ -32,6 +32,7 @@ class AbstractParser(abc.ABC):
32 32
33 self.output_filename = fname + '.cleaned' + extension 33 self.output_filename = fname + '.cleaned' + extension
34 self.lightweight_cleaning = False 34 self.lightweight_cleaning = False
35 self.sandbox = True
35 36
36 @abc.abstractmethod 37 @abc.abstractmethod
37 def get_meta(self) -> Dict[str, Union[str, dict]]: 38 def get_meta(self) -> Dict[str, Union[str, dict]]: