Queer European MD passionate about IT
Эх сурвалжийг харах

Git-ignore test.py.

davteutil should be considered third party module since it is homed in a 
separate repository.
Davte 6 жил өмнө
parent
commit
121e3c370c

+ 3 - 0
.gitignore

@@ -14,6 +14,9 @@ local_*
 # my_config.sh
 my_config.sh
 
+# Test
+davtelepot/test.py
+
 # ---> Python
 # Byte-compiled / optimized / DLL files
 __pycache__/

+ 1 - 1
davtelepot/__init__.py

@@ -7,7 +7,7 @@ __author__ = "Davide Testa"
 __email__ = "davte@libero.it"
 __credits__ = "Marco Origlia"
 __license__ = "GNU General Public License v3.0"
-__version__ = "1.3.5"
+__version__ = "1.3.6"
 __maintainer__ = "Davide Testa"
 __contact__ = "t.me/davte"
 

+ 2 - 4
davtelepot/custombot.py

@@ -23,15 +23,13 @@ import os
 
 # Third party modules
 import dataset
-import telepot
-import telepot.aio
-
-# Project modules
 from davteutil.utilities import (
     Gettable, escape_html_chars, get_cleaned_text, line_drawing_unordered_list,
     make_lines_of_buttons, markdown_check, MyOD, pick_most_similar_from_list,
     remove_html_tags, sleep_until
 )
+import telepot
+import telepot.aio
 
 
 def split_text_gracefully(text, limit, parse_mode):