Remove slash at beginning of data path files

This commit is contained in:
Mathieu Comandon 2015-01-19 15:54:21 +01:00
parent eafb5fea55
commit a8d6af4923

View file

@ -70,7 +70,7 @@ def update_desktop_file(datadir):
data_files = []
for directory, _, filenames in os.walk(u'share'):
dest = directory[5:]
dest = directory[6:]
if filenames:
files = []
for filename in filenames: