fixed type error
This commit is contained in:
parent
a5c8e6f051
commit
1b76cb88b7
@ -1,13 +1,13 @@
|
|||||||
import os.path
|
import os.path
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
UNHIDE_CHAR = ','
|
UNHIDE_CHAR = '_'
|
||||||
|
|
||||||
def unhide(part: str):
|
def unhide(part: str):
|
||||||
if len(part) == 0:
|
if len(part) == 0:
|
||||||
return ""
|
return ""
|
||||||
if part[0] == ".":
|
if part[0] == ".":
|
||||||
part[0] = UNHIDE_CHAR
|
return part.replace(".", UNHIDE_CHAR)
|
||||||
|
|
||||||
return part
|
return part
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user