working directory fix
This commit is contained in:
parent
ef0898e8c7
commit
2ea1ceaeee
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@ import re
|
|||
import time
|
||||
import json
|
||||
|
||||
# Set working directory
|
||||
if os.path.dirname(sys.argv[0]):
|
||||
os.chdir(os.path.dirname(sys.argv[0]))
|
||||
|
||||
import ostools
|
||||
import nickservmsgs
|
||||
import pytwmn
|
||||
|
|
Loading…
Reference in a new issue