From 0a97bc1b40c9949fa6881b6485ee1b9dbcea569e Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 14 Aug 2019 13:15:36 +1000 Subject: [PATCH] PEP fixes --- InvenTree/InvenTree/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 5b6b308522..66f22be9e4 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -17,10 +17,12 @@ import logging import tempfile import yaml + def eprint(*args, **kwargs): """ Print a warning message to stderr """ print(*args, file=sys.stderr, **kwargs) + # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))