Skip to content

Commit

Permalink
Fix bug when lua script name truncated by dot
Browse files Browse the repository at this point in the history
  • Loading branch information
Islam Elkanov committed Jun 13, 2023
1 parent 7a1ec4f commit bd34450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tarantool_server.py
Expand Up @@ -583,7 +583,7 @@ def script(self, val):
delattr(self, '_script')
return
self._script = os.path.abspath(val)
self.name = os.path.basename(self._script).split('.')[0]
self.name = re.sub(r".lua", "", os.path.basename(self._script))

@property
def _admin(self):
Expand Down

0 comments on commit bd34450

Please sign in to comment.