mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-05-09 13:49:11 -07:00
Announce cache handling
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user