Skip to content

Commit

Permalink
remove is_platform_linux function
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed Jan 23, 2024
1 parent c972cbe commit a8bda05
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions reserver/util.py
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit a8bda05

Please sign in to comment.