mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
50319b269e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def generate_secret_id(length):
|
|||
)
|
||||
|
||||
secret_id = ''.join(
|
||||
[R.choice(config.SLUG_CHOICES) for i in range(length or config.SLUG_LENGTH)]
|
||||
[R.choice(config.SLUG_CHOICES) for _ in range(length or config.SLUG_LENGTH)]
|
||||
)
|
||||
|
||||
# Check if this slug already exists, if not, return this new slug
|
||||
|
|
Loading…
Reference in a new issue