aboutsummaryrefslogtreecommitdiff
path: root/rcc_format/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'rcc_format/__init__.py')
-rw-r--r--rcc_format/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rcc_format/__init__.py b/rcc_format/__init__.py
index 629bc54..af32432 100644
--- a/rcc_format/__init__.py
+++ b/rcc_format/__init__.py
@@ -1,11 +1,11 @@
from rcc_format.util import *
from os.path import basename
-def dump(filelist, args):
+def dump(args):
write_header(args.output, args.namespace)
items = []
- for f in filelist:
+ for f in args.input:
x = resource(basename(f.name), to_variable_name(f.name), f.name)
items.append(x)
write_item(args.output, x.variable, f.read())