From 411b7ae512db1f59cc9cade46ac1d98ce2c39f6b Mon Sep 17 00:00:00 2001 From: Maximilien Rigaut Date: Sun, 15 May 2022 21:45:22 +0200 Subject: [PATCH] Correcting some regular errors --- src/bootstraparse/modules/environment.py | 3 ++- src/bootstraparse/modules/export.py | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bootstraparse/modules/environment.py b/src/bootstraparse/modules/environment.py index 77a6c41..2356ff4 100644 --- a/src/bootstraparse/modules/environment.py +++ b/src/bootstraparse/modules/environment.py @@ -1,5 +1,6 @@ # Module for containing super important variables -from bootstraparse import error_mngr +from bootstraparse.modules import error_mngr + class Environment: """ diff --git a/src/bootstraparse/modules/export.py b/src/bootstraparse/modules/export.py index 70e5005..20c8269 100644 --- a/src/bootstraparse/modules/export.py +++ b/src/bootstraparse/modules/export.py @@ -125,5 +125,6 @@ class ExportManager: return ExportResponse(start, end) -herbert = ExportManager(cnoifg=None, templates=None) -herbert._get_template(ExportRequest('b', 'c', 'class="hugues"')) +if __name__ == '__main__': + herbert = ExportManager(cnoifg=None, templates=None) + herbert._get_template(ExportRequest('b', 'c', 'class="hugues"'))