change to use overchan.archive.*
This commit is contained in:
parent
2a9b1f3eac
commit
f1037d888d
@ -37,7 +37,7 @@ class Article:
|
|||||||
# clean it
|
# clean it
|
||||||
m += p.text
|
m += p.text
|
||||||
m += '\n'
|
m += '\n'
|
||||||
if len(m) > 0:
|
if len(m.rstrip('\n')) > 0:
|
||||||
return m
|
return m
|
||||||
|
|
||||||
def subject(self):
|
def subject(self):
|
||||||
@ -48,7 +48,7 @@ class Article:
|
|||||||
return self.j['name']
|
return self.j['name']
|
||||||
|
|
||||||
def group(self):
|
def group(self):
|
||||||
return 'overchan.test.archive.{}.{}'.format(self.site, self.board)
|
return 'overchan.archive.{}.{}'.format(self.site, self.board)
|
||||||
|
|
||||||
def genMessageID(self, no):
|
def genMessageID(self, no):
|
||||||
return '<{}.{}@{}>'.format(self.board, no, self.site)
|
return '<{}.{}@{}>'.format(self.board, no, self.site)
|
||||||
|
Reference in New Issue
Block a user