Skip to content

Commit e0e77c6

Browse files
committed
Merge pull request #1926 from geopython/master
MetaSearch: fix plugin zipfile
2 parents 0b874ce + 701cd1c commit e0e77c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/MetaSearch/pavement.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def package():
123123
if file_add.endswith('.pyc') or file_add in skip_files:
124124
continue
125125
filepath = os.path.join(root, file_add)
126-
relpath = os.path.relpath(filepath)
126+
relpath = os.path.join(PLUGIN_NAME, os.path.relpath(filepath))
127127
zipf.write(filepath, relpath)
128128
return package_file # return name of created zipfile
129129

0 commit comments

Comments
 (0)