mirror of
https://github.com/ciromattia/kcc
synced 2025-12-20 13:11:47 +00:00
CLI: Additional source path cleanup (close #152)
This commit is contained in:
@@ -66,6 +66,7 @@ def main(argv=None):
|
|||||||
print('No matching files found.')
|
print('No matching files found.')
|
||||||
return
|
return
|
||||||
for source in sources:
|
for source in sources:
|
||||||
|
source = source.rstrip('\\').rstrip('/')
|
||||||
options = copy(optionstemplate)
|
options = copy(optionstemplate)
|
||||||
checkOptions()
|
checkOptions()
|
||||||
if len(sources) > 1:
|
if len(sources) > 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user