mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-07-22 14:31:00 -04:00
Announce cache handling
This commit is contained in:
parent
581b16f87c
commit
b267687c7f
2 changed files with 61 additions and 34 deletions
|
@ -283,6 +283,9 @@ class Reticulum:
|
|||
if not os.path.isdir(Reticulum.cachepath):
|
||||
os.makedirs(Reticulum.cachepath)
|
||||
|
||||
if not os.path.isdir(os.path.join(Reticulum.cachepath, "announces")):
|
||||
os.makedirs(os.path.join(Reticulum.cachepath, "announces"))
|
||||
|
||||
if not os.path.isdir(Reticulum.resourcepath):
|
||||
os.makedirs(Reticulum.resourcepath)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue