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