polls get sent to all members on logon
dirty fix for the MA nanolines There's an error with the urllib, downgrading the dependency.
This commit is contained in:
@@ -158,8 +158,11 @@ class NanoController:
|
||||
|
||||
@command(command="nanolines", params=[Any("profession"), Any("nanoline")], access_level="member",
|
||||
description="Show nanos by nanoline profession and line name")
|
||||
def nanolines_prof_strain(self, _, prof, strain):
|
||||
def nanolines_prof_strain(self, _, prof: str, strain: str):
|
||||
profession = self.util.get_profession(prof)
|
||||
if strain.startswith("Artist"):
|
||||
profession = "Martial Artist"
|
||||
strain = strain[7:]
|
||||
nanoline = self.db.query_single(
|
||||
"SELECT * FROM nanos n WHERE n.strain LIKE ? AND profession =? and type='Crystal' LIMIT 1",
|
||||
[strain, profession])
|
||||
|
||||
Reference in New Issue
Block a user