mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
fix whitespace: avoid mixed tabs and spaces
This commit is contained in:
parent
de9d8cc0ba
commit
0cd85602ed
@ -30,9 +30,9 @@ def main(argv):
|
||||
uselyx2lyx = True
|
||||
skipcount = 1
|
||||
if len(argv) >= 3+skipcount:
|
||||
sys.path.append(os.path.join(sys.argv[2+skipcount]))
|
||||
sys.path.append(os.path.join(sys.argv[2+skipcount]))
|
||||
else:
|
||||
sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '../../../lib/scripts'))
|
||||
sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '../../../lib/scripts'))
|
||||
|
||||
from lyxpreview_tools import error
|
||||
|
||||
@ -45,9 +45,9 @@ def main(argv):
|
||||
|
||||
suffixre = re.search(r'\d+\.\d+$', tex2lyx)
|
||||
if suffixre:
|
||||
suffix = suffixre.group()
|
||||
suffix = suffixre.group()
|
||||
else:
|
||||
suffix = ""
|
||||
suffix = ""
|
||||
lyx = os.path.join(os.path.dirname(tex2lyx), "lyx" + suffix)
|
||||
inputdir = os.path.dirname(argv[0])
|
||||
if len(argv) >= 4+skipcount:
|
||||
|
Loading…
Reference in New Issue
Block a user