We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0e1e5f commit 1553d7bCopy full SHA for 1553d7b
src/wopiserver.py
@@ -147,8 +147,8 @@ def init(cls):
147
cls.log.error('msg="Failed to open the provided certificate or key to start in https mode"')
148
raise
149
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('/')
+ cls.homepath = cls.config.get('general', 'homepath', fallback='/home/username')
+ cls.recoverypath = cls.config.get('io', 'recoverypath', fallback='/var/spool/wopirecovery')
152
try:
153
os.makedirs(cls.recoverypath)
154
except FileExistsError:
0 commit comments