ChaterJee 0.3.7__tar.gz → 0.3.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,7 +63,7 @@ class ChatLogs:
63
63
 
64
64
  jobs_handler = ConversationHandler(\
65
65
  entry_points=[CommandHandler("jobs", self.ShowJobs),\
66
- CommandHandler("clear", self.ask2clear)],\
66
+ CommandHandler("clear", self.ask2clear),\
67
67
  CommandHandler("edit", self.EditorBabu)],\
68
68
  states={
69
69
  0: [MessageHandler(filters.Regex("^(JOB)"), self.StatJobs)],
@@ -227,7 +227,7 @@ class ChatLogs:
227
227
  self.txt = f"File {file_path} not Found!"
228
228
  await self.sendUpdate(update, context)
229
229
  else:
230
- JSONfiles = get_json_files(".")
230
+ JSONfiles = self.get_json_files(".")
231
231
  #self.txt = "Expected a JSON file as argument. Nothing provided."
232
232
  #await self.sendUpdate(update, context)
233
233
  await context.bot.sendChatAction(chat_id=self.CHATID, action="typing")
@@ -242,7 +242,7 @@ class ChatLogs:
242
242
  self.txt = f"No JSON file found in the current directory!"
243
243
  await self.sendUpdate(update, context)
244
244
 
245
- def get_json_files(directory):
245
+ def get_json_files(self, directory):
246
246
  json_files = []
247
247
  for filename in os.listdir(directory):
248
248
  if filename.endswith(".json"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ChaterJee
3
- Version: 0.3.7
3
+ Version: 0.3.9
4
4
  Summary: Communicate your project updates via Telegram Bot!
5
5
  Author: Pallab Dutta
6
6
  Author-email: pallab9997@gmail.com
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ChaterJee
3
- Version: 0.3.7
3
+ Version: 0.3.9
4
4
  Summary: Communicate your project updates via Telegram Bot!
5
5
  Author: Pallab Dutta
6
6
  Author-email: pallab9997@gmail.com
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='ChaterJee',
5
- version='0.3.7',
5
+ version='0.3.9',
6
6
  packages=find_packages(),
7
7
  install_requires=[
8
8
  'python-telegram-bot==20.7',
File without changes
File without changes