os-agnostic way to get file path
This commit is contained in:
1 parent
4c1ffb3382
commit
807c62ca95
4 files changed
+4
-4
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user