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

View file

@ -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.')