diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index 7e45177..c24c109 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -14,7 +14,7 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __license__ = "GNU General Public License v3.0" -__version__ = "2.3.8" +__version__ = "2.3.9" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/examples/a_simple_bot.py b/examples/a_simple_bot.py index aed1572..2a67930 100644 --- a/examples/a_simple_bot.py +++ b/examples/a_simple_bot.py @@ -61,7 +61,7 @@ except ImportError: sys.exit(1) # Get path of current script -path = os.path.dirname(__file__) +path = os.path.dirname(os.path.abspath(__file__)) def initialize_bot(bot): diff --git a/examples/more_bots_together.py b/examples/more_bots_together.py index f634716..47bda38 100644 --- a/examples/more_bots_together.py +++ b/examples/more_bots_together.py @@ -28,7 +28,7 @@ except ImportError: from a_simple_bot import initialize_bot # Get path of current script -path = os.path.dirname(__file__) +os.path.dirname(os.path.abspath(__file__)) def _main(): diff --git a/examples/webhook_powered_bot.py b/examples/webhook_powered_bot.py index 971de63..507e83c 100644 --- a/examples/webhook_powered_bot.py +++ b/examples/webhook_powered_bot.py @@ -24,7 +24,7 @@ except ImportError: from a_simple_bot import initialize_bot # Get path of current script -path = os.path.dirname(__file__) +os.path.dirname(os.path.abspath(__file__)) def _main():