From a8bda055999b1a23f193c3be74164feb37e3a3ee Mon Sep 17 00:00:00 2001 From: AHReccese Date: Tue, 23 Jan 2024 11:13:57 +0330 Subject: [PATCH] remove `is_platform_linux` function --- reserver/util.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/reserver/util.py b/reserver/util.py index 73ad294..9d8211f 100644 --- a/reserver/util.py +++ b/reserver/util.py @@ -1,20 +1,10 @@ # -*- coding: utf-8 -*- """Utility functions.""" -from platform import system from hashlib import sha256 from time import time -def is_platform_linux(): - """ - Check whether current platform is linux or not. - - :return: bool - """ - return system() == "Linux" - - def get_random_name(): """ Generate a random str based on current timestamp.