mirror of https://github.com/CIRCL/AIL-framework
modified variable name str
parent
5a9eca9291
commit
8a1247cf5d
|
@ -19,11 +19,11 @@ import ipaddress
|
||||||
from Helper import Process
|
from Helper import Process
|
||||||
|
|
||||||
# Used to prevent concat with empty fields due to url parsing
|
# Used to prevent concat with empty fields due to url parsing
|
||||||
def avoidNone(str):
|
def avoidNone(a_string):
|
||||||
if str is None:
|
if a_string is None:
|
||||||
return ""
|
return ""
|
||||||
else:
|
else:
|
||||||
return str
|
return a_string
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
publisher.port = 6380
|
publisher.port = 6380
|
||||||
|
|
Loading…
Reference in New Issue