Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-petrenko committed Aug 30, 2024
1 parent 066b571 commit 91d4322
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sample_factory/utils/utils.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
"""Utilities."""

import argparse
import getpass
import importlib
import logging
import operator
import os
import getpass
import tempfile
import time
from os.path import join
from queue import Full
from subprocess import SubprocessError, check_output, run
from sys import argv, platform
from sys import platform

import numpy as np
import psutil
Expand Down Expand Up @@ -389,6 +389,7 @@ def get_username():
return getpass.getuser()
except KeyError:
# worst case scenario - let's just use uid
uid = os.getuid()
return str(uid)


Expand Down

0 comments on commit 91d4322

Please sign in to comment.