Browse Source

[content/include] Include files must be in the `songs` directory

pull/176/head
Louis 9 years ago
parent
commit
ad1c9f7157
  1. 2
      patacrep/content/include.py

2
patacrep/content/include.py

@ -19,7 +19,7 @@ def load_from_datadirs(path, datadirs):
Raise an exception if it was found if none of the datadirs of 'config'. Raise an exception if it was found if none of the datadirs of 'config'.
""" """
for filepath in files.iter_datadirs(datadirs, path): for filepath in files.iter_datadirs(datadirs, "songs", path):
if os.path.exists(filepath): if os.path.exists(filepath):
return filepath return filepath
# File not found # File not found

Loading…
Cancel
Save