mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-10 19:46:22 +00:00
replace flood with deluge in source
This commit is contained in:
parent
faa85dcb10
commit
b2f68ac69e
4
test.py
4
test.py
@ -9,11 +9,11 @@
|
||||
#*/
|
||||
|
||||
|
||||
import flood
|
||||
import deluge
|
||||
from time import sleep
|
||||
import os
|
||||
|
||||
manager = flood.manager("FL", "0500", "flood - testing only",
|
||||
manager = deluge.manager("FL", "0500", "deluge - testing only",
|
||||
os.path.expanduser("~") + "/Temp")# blank_slate=True)
|
||||
|
||||
#manager.set_pref('max_upload_rate', 6*1024)
|
||||
|
4
webui.py
4
webui.py
@ -22,7 +22,7 @@ import time
|
||||
import BaseHTTPServer
|
||||
import sys, os
|
||||
|
||||
import flood
|
||||
import deluge
|
||||
|
||||
|
||||
# Constants
|
||||
@ -38,7 +38,7 @@ class WebUICore:
|
||||
self.running = False
|
||||
|
||||
def start(self):
|
||||
self.manager = flood.manager("DE", "0511", "Deluge WebUI",
|
||||
self.manager = deluge.manager("DE", "0511", "Deluge WebUI",
|
||||
os.path.expanduser("~") + "/Temp")#, blank_slate=True)
|
||||
self.running = True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user