forked from Github/Axter-Stash
Fix bug when getting number from ID having mix text and number
This commit is contained in:
@@ -882,6 +882,9 @@ class StashPluginHelper(StashInterface):
|
||||
return True
|
||||
return False
|
||||
|
||||
def getNum(self, data):
|
||||
return ''.join(filter(lambda i: i.isdigit(), data))
|
||||
|
||||
# ############################################################################################################
|
||||
# Functions which are candidates to be added to parent class use snake_case naming convention.
|
||||
# ############################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user