Commits

Mattijs Hoitink committed b3fb6bc

Reuse resource variable

Comments (0)

Files changed (1)

     footer = _get_footer()
 
     resources = j(up(__file__), 'resources')
-    for filename in os.listdir(j(up(__file__), 'resources')):
+    for filename in os.listdir(resources):
         shutil.copyfile(j(resources, filename), j(destination, '_dmedia', filename))
 
     chapters = []