working directory fix

This commit is contained in:
Dpeta 2022-09-07 12:23:04 +02:00
parent ef0898e8c7
commit 2ea1ceaeee

View file

@ -11,6 +11,10 @@ import re
import time import time
import json import json
# Set working directory
if os.path.dirname(sys.argv[0]):
os.chdir(os.path.dirname(sys.argv[0]))
import ostools import ostools
import nickservmsgs import nickservmsgs
import pytwmn import pytwmn