os-agnostic way to get file path

This commit is contained in:
Davte committed 2019-12-29 22:51:05 +01:00
1 parent 4c1ffb3382
commit 807c62ca95
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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():