From 080d6169f03836330b355e5304e51122d7956c11 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 24 Feb 2024 18:07:02 +0300 Subject: [PATCH] Feat: Python 3 --- dump_db.py | 2 +- print-filename.py | 2 +- print-stats.py | 2 +- reload_db.py | 2 +- rescan_fs.py | 2 +- xsetbg-wsgi.py | 2 +- xsetbg_conf.py | 2 +- xsetbg_db.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dump_db.py b/dump_db.py index 9797299..470ff0a 100755 --- a/dump_db.py +++ b/dump_db.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Dump the DB sorted by date This file is a part of XSetBg. diff --git a/print-filename.py b/print-filename.py index 921f129..d541397 100755 --- a/print-filename.py +++ b/print-filename.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """print(background filename) print(the filename of the current or previous background image.) diff --git a/print-stats.py b/print-stats.py index daa31a4..fe7cfa5 100755 --- a/print-stats.py +++ b/print-stats.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Display stats: shown and non-shown files; oldest and newest and so on This file is a part of XSetBg. diff --git a/reload_db.py b/reload_db.py index 4a96a01..ffa0013 100755 --- a/reload_db.py +++ b/reload_db.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Reload a dump into DB This file is a part of XSetBg. diff --git a/rescan_fs.py b/rescan_fs.py index f2586f3..0abed44 100755 --- a/rescan_fs.py +++ b/rescan_fs.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """Rescan filesystem and update database Rescan images directories; remove unknown images from DB; add new images. diff --git a/xsetbg-wsgi.py b/xsetbg-wsgi.py index 0b9e12d..aad53ee 100755 --- a/xsetbg-wsgi.py +++ b/xsetbg-wsgi.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """XSetBg (WSGI version) """ diff --git a/xsetbg_conf.py b/xsetbg_conf.py index 677b537..b1b6656 100755 --- a/xsetbg_conf.py +++ b/xsetbg_conf.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """XSetBg config """ diff --git a/xsetbg_db.py b/xsetbg_db.py index 0ad9d04..85cecc2 100755 --- a/xsetbg_db.py +++ b/xsetbg_db.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """XSetBg database """ -- 2.39.2