Skip to content

Commit

Permalink
fixes VERBOSE handling
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Nov 19, 2022
1 parent 664efd3 commit cb7fa42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion justpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""JustPy is an object-oriented, component based, high-level Python Web Framework that requires no front-end programming"""
from .justpy import *

__version__ = "0.11.2"
__version__ = "0.11.3"
2 changes: 1 addition & 1 deletion justpy/justpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
jp_server = None
current_module = sys.modules[__name__]
current_dir = os.path.dirname(current_module.__file__)
print(current_dir.replace("\\", "/"))
if jpconfig.VERBOSE:
print(current_dir.replace("\\", "/"))
print(f"Module directory: {current_dir}, Application directory: {os.getcwd()}")

logging.basicConfig(level=jpconfig.LOGGING_LEVEL, format="%(levelname)s %(module)s: %(message)s")
Expand Down

0 comments on commit cb7fa42

Please sign in to comment.