mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
modified variable name str
This commit is contained in:
parent
5a9eca9291
commit
8a1247cf5d
1 changed files with 3 additions and 3 deletions
|
@ -19,11 +19,11 @@ import ipaddress
|
|||
from Helper import Process
|
||||
|
||||
# Used to prevent concat with empty fields due to url parsing
|
||||
def avoidNone(str):
|
||||
if str is None:
|
||||
def avoidNone(a_string):
|
||||
if a_string is None:
|
||||
return ""
|
||||
else:
|
||||
return str
|
||||
return a_string
|
||||
|
||||
if __name__ == "__main__":
|
||||
publisher.port = 6380
|
||||
|
|
Loading…
Reference in a new issue