Fix NEWGROUPS client method
This commit is contained in:
parent
4aa222dc8f
commit
616e767c0c
1 changed files with 2 additions and 2 deletions
|
@ -78,11 +78,11 @@ class Client(Connection):
|
||||||
|
|
||||||
yield line
|
yield line
|
||||||
|
|
||||||
def each_newsgroup(self, wildmat: str, timestamp: datetime.datetime):
|
def each_newsgroup_since(self, timestamp: datetime.datetime):
|
||||||
date = timestamp.strftime('%Y%m%d')
|
date = timestamp.strftime('%Y%m%d')
|
||||||
time = timestamp.strftime('%H%M%S')
|
time = timestamp.strftime('%H%M%S')
|
||||||
|
|
||||||
response = self.request('NEWGROUPS', wildmat, date, time)
|
response = self.request('NEWGROUPS', date, time)
|
||||||
|
|
||||||
for line in self.each_response_line():
|
for line in self.each_response_line():
|
||||||
parts = self.RE_SPLIT.split(line)
|
parts = self.RE_SPLIT.split(line)
|
||||||
|
|
Loading…
Add table
Reference in a new issue