Skip to content

Commit 1553d7b

Browse files
committed
Revert stripping "/" on local paths, see #151
1 parent d0e1e5f commit 1553d7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wopiserver.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ def init(cls):
147147
cls.log.error('msg="Failed to open the provided certificate or key to start in https mode"')
148148
raise
149149
cls.wopiurl = cls.config.get('general', 'wopiurl').strip('/')
150-
cls.homepath = cls.config.get('general', 'homepath', fallback='/home/username').strip('/')
151-
cls.recoverypath = cls.config.get('io', 'recoverypath', fallback='/var/spool/wopirecovery').strip('/')
150+
cls.homepath = cls.config.get('general', 'homepath', fallback='/home/username')
151+
cls.recoverypath = cls.config.get('io', 'recoverypath', fallback='/var/spool/wopirecovery')
152152
try:
153153
os.makedirs(cls.recoverypath)
154154
except FileExistsError:

0 commit comments

Comments
 (0)