aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-21 17:39:59 -0800
committerclarkzjw <[email protected]>2023-02-21 17:39:59 -0800
commit5b09e9d190b642a4e5571c0e4504c155f56a6f5a (patch)
treee4a1ea917b1f5e56d34394ac4d62bb0e71571bf3 /bot/__init__.py
parent431e8abcc4bf858e4ca945384a2f60702f1b5a4c (diff)
downloadswarm2fediverse-5b09e9d190b642a4e5571c0e4504c155f56a6f5a.tar.gz
bot: enable location search
Diffstat (limited to 'bot/__init__.py')
-rw-r--r--bot/__init__.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/bot/__init__.py b/bot/__init__.py
deleted file mode 100644
index 5e3c341..0000000
--- a/bot/__init__.py
+++ /dev/null
@@ -1,13 +0,0 @@
1from telegram import __version__ as TG_VER
2
3try:
4 from telegram import __version_info__
5except ImportError:
6 __version_info__ = (0, 0, 0, 0, 0) # type: ignore[assignment]
7
8if __version_info__ < (20, 0, 0, "alpha", 1):
9 raise RuntimeError(
10 f"This example is not compatible with your current PTB version {TG_VER}. To view the "
11 f"{TG_VER} version of this example, "
12 f"visit https://docs.python-telegram-bot.org/en/v{TG_VER}/examples.html"
13 )
Powered by cgit v1.2.3 (git 2.41.0)