Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

正则修改名字的时候报错 #42

Open
miomua opened this issue Jan 6, 2024 · 0 comments
Open

正则修改名字的时候报错 #42

miomua opened this issue Jan 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@miomua
Copy link

miomua commented Jan 6, 2024

[2024-01-06 20:45:35,355] ERROR in init: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 867, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 852, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/src/controller/main_ctrl.py", line 46, in previewRename
ret = rename.renamebyreg(content['source_folder'], content['reg'], content['prefix'], True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/src/bizlogic/rename.py", line 54, in renamebyreg
current_app.logger.debug(originep + " "+epresult)
~~~~~~~~~~~~~~~~^~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str

@Suwmlee Suwmlee added the bug Something isn't working label Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants