Skip to content

Commit 31a1e3e

Browse files
authored
Merge pull request #7 from mustafakhalaf-git/master
Remove 'require_version' to fix version issue
2 parents fa420b6 + 975b021 commit 31a1e3e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

prayertime.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,7 @@
2626
__all__ = ['Calendar', 'Prayertime', 'Madhab', 'as_pytime', 'as_pydatetime']
2727

2828
import gi
29-
import distro
3029
gi.require_version('Gtk', '3.0')
31-
if distro.id() == 'arch':
32-
gi.require_version('Notify', '0.8')
33-
else:
34-
gi.require_version('Notify', '0.7')
3530
from gi.repository import Gtk, Gst, GObject, Gio, GLib, GdkPixbuf, Notify
3631
from math import degrees, radians, atan, atan2, asin, acos, cos, sin, tan, fabs
3732
from datetime import date, timedelta

0 commit comments

Comments
 (0)