Revert "Make the file manager work a little more sanely with regard to paths."

This breaks things even more on Windows :-(

This reverts commit 35243b9869.
This commit is contained in:
Dave Page
2016-06-17 18:19:51 +01:00
parent 35243b9869
commit 2c62d1a4b7
4 changed files with 22 additions and 7 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ import config
def get_storage_directory():
if config.SERVER_MODE is not True:
return '/'
return None
storage_dir = getattr(
config, 'STORAGE_DIR',
@@ -30,7 +30,7 @@ def get_storage_directory():
)
if storage_dir is None:
return '/'
return None
username = current_user.email.split('@')[0]
if len(username) == 0 or username[0].isdigit():