mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-07-01 12:30:23 +12:00
Slight update for Python scripts
This commit is contained in:
parent
3de061b92b
commit
6e40b641a2
|
@ -3,10 +3,11 @@
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
import sys
|
import sys
|
||||||
|
from io import open
|
||||||
from shutil import rmtree
|
from shutil import rmtree
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
if not sys.argv[1]:
|
if len(sys.argv) == 1 or not sys.argv[1]:
|
||||||
raise SystemExit('Build dir missing.')
|
raise SystemExit('Build dir missing.')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue