Merge branch 'master' of https://github.com/HelloZeroNet/ZeroNet
This commit is contained in:
commit
ed74403850
3 changed files with 30 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve ZeroNet
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
### Step 1: Please describe your environment
|
### Step 1: Please describe your environment
|
||||||
|
|
||||||
* ZeroNet version: _____
|
* ZeroNet version: _____
|
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
name: Feature request
|
||||||
|
about: Suggest an idea for ZeroNet
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Is your feature request related to a problem? Please describe.**
|
||||||
|
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||||
|
|
||||||
|
**Describe the solution you'd like**
|
||||||
|
A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
|
**Describe alternatives you've considered**
|
||||||
|
A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context or screenshots about the feature request here.
|
|
@ -196,7 +196,7 @@ class UiWebsocketPlugin(object):
|
||||||
contents = site.content_manager.listContents() # Without user files
|
contents = site.content_manager.listContents() # Without user files
|
||||||
for inner_path in contents:
|
for inner_path in contents:
|
||||||
content = site.content_manager.contents[inner_path]
|
content = site.content_manager.contents[inner_path]
|
||||||
if "files" not in content:
|
if "files" not in content or content["files"] is None:
|
||||||
continue
|
continue
|
||||||
for file_name, file_details in content["files"].items():
|
for file_name, file_details in content["files"].items():
|
||||||
size_total += file_details["size"]
|
size_total += file_details["size"]
|
||||||
|
|
Loading…
Reference in a new issue