Fix a mistake in packaging sql files for Windows

This commit is contained in:
Lee Miller 2022-07-02 15:38:46 +03:00
parent 5fa3e37a1d
commit 32651fbe53
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -76,7 +76,7 @@ a.datas += [
sql_dir = os.path.join(srcPath, 'sql')
a.datas += [
('sql', os.path.join(sql_dir, file_), 'DATA')
(os.path.join('sql', file_), os.path.join(sql_dir, file_), 'DATA')
for file_ in os.listdir(sql_dir) if file_.endswith('.sql')
]