rev116, Fix websocket error when writing invalid files on not-owned sites, Fix for stucked notification icon after shutdown
This commit is contained in:
parent
dc4292e1e3
commit
f576527986
4 changed files with 6 additions and 3 deletions
|
@ -4,7 +4,7 @@ import ConfigParser
|
|||
class Config(object):
|
||||
def __init__(self):
|
||||
self.version = "0.2.9"
|
||||
self.rev = 115
|
||||
self.rev = 116
|
||||
self.parser = self.createArguments()
|
||||
argv = sys.argv[:] # Copy command line arguments
|
||||
argv = self.parseConfig(argv) # Add arguments from config file
|
||||
|
|
|
@ -111,7 +111,9 @@ class ContentManager:
|
|||
|
||||
def getIncludeInfo(self, inner_path):
|
||||
if not inner_path.endswith("content.json"): # Find the files content.json first
|
||||
inner_path = self.getFileInfo(inner_path)["content_inner_path"]
|
||||
file_info = self.getFileInfo(inner_path)
|
||||
if not file_info: return False # File not found
|
||||
inner_path = file_info["content_inner_path"]
|
||||
dirs = inner_path.split("/") # Parent dirs of content.json
|
||||
inner_path_parts = [dirs.pop()] # Filename relative to content.json
|
||||
inner_path_parts.insert(0, dirs.pop()) # Dont check in self dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue