mirror of
https://github.com/9001/copyparty.git
synced 2026-01-04 02:25:45 +10:00
get rid of iffy default-args
This commit is contained in:
@@ -23,10 +23,10 @@ def hdr(query):
|
||||
|
||||
|
||||
class Cfg(Namespace):
|
||||
def __init__(self, a=[], v=[], c=None):
|
||||
def __init__(self, a=None, v=None, c=None):
|
||||
super(Cfg, self).__init__(
|
||||
a=a,
|
||||
v=v,
|
||||
a=a or [],
|
||||
v=v or [],
|
||||
c=c,
|
||||
rproxy=0,
|
||||
ed=False,
|
||||
|
||||
Reference in New Issue
Block a user