1
0
Fork 0
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:
Deathamns 2014-12-19 21:31:11 +01:00 committed by gorhill
parent 3de061b92b
commit 6e40b641a2

View file

@ -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):