commit bc189afece11555366c208b2afb2ce8b2a00f20a
parent 85691d7a445dd8a1dc24af9ee1eede507bbc000f
Author: rbckman <rob@tarina.org>
Date: Wed, 29 Jul 2026 18:19:53 +0300
this is the way, maybe wont take long at all todo this new backend
Diffstat:
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/server.py b/server.py
@@ -28,8 +28,6 @@ from mutagen.easyid3 import EasyID3
from mutagen.oggvorbis import OggVorbis
from PIL import Image
from PIL import ImageSequence
-from forex_python.bitcoin import BtcConverter
-from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
import settings
urls = (
@@ -73,7 +71,6 @@ urls = (
'/uploads?', 'uploads',
'/config', 'config',
'/payments?', 'payments',
- '/cv', 'cv')
bag = ''
@@ -122,6 +119,19 @@ def logged():
else:
return False
+def savefile(thename, thingstosaveinalist):
+ for thingstosaveinalist:
+ #full path to filename
+ #save to next line make an ID automatically, you have to check the save to know how to load it.
+
+def loadfile(thename, thingstoloadinalist):
+ for thingstoloadinalist:
+ #full path to filename
+ #save to next line make an ID automatically, you have to check the save to know how to load it.
+
+def loadandcount(thename, thingstocount):
+ #read file count lines return
+
def adduser(name, password, mail):
originalname=name
name=safe_filename(name[:12])