Skip to content

Commit

Permalink
Merge pull request #93 from bmartin5692/fix-92
Browse files Browse the repository at this point in the history
change randomid to 4 characters
  • Loading branch information
bmartin5692 authored Jan 25, 2020
2 parents c01223a + 82d5448 commit eece03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bumper/plugins/bumper_confserver_portal_iot.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def handle_devmanager_botcommand(self, request):
try:
json_body = json.loads(await request.text())

randomid = "".join(random.sample(string.ascii_letters, 6))
randomid = "".join(random.sample(string.ascii_letters, 4))
did = ""
if "toId" in json_body: # Its a command
did = json_body["toId"]
Expand Down

0 comments on commit eece03e

Please sign in to comment.