mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-10-28 18:07:35 +01:00
Updated to python 3 compatible code
This commit is contained in:
@@ -30,7 +30,7 @@ class DeltaBuilder(FrontendBuilder):
|
||||
content = content.replace('@request.path@', backendSettings['request.path'])
|
||||
|
||||
dst = self.absolutePathForTargetFile(targetFolder, '', resource['target'])
|
||||
file = open(dst, 'w')
|
||||
file = open(dst, 'wb')
|
||||
file.write(content.encode('utf-8'))
|
||||
file.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user