Fixed a bug in the python WML parser which I introduced a few days ago.
This commit is contained in:
parent
29d9ad2402
commit
69e7828160
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ class Parser:
|
|||
if not os.path.exists(dirpath): dirpath = None
|
||||
else:
|
||||
dirpath = None
|
||||
if dirpath and self.user_dir:
|
||||
if not dirpath and self.user_dir:
|
||||
dirpath = self.user_dir + "/" + macro[1:]
|
||||
# If the macro starts with ., look relative to the currently parsed
|
||||
# file.
|
||||
|
|
Loading…
Add table
Reference in a new issue