Skip to content

Commit a7c38ec

Browse files
committed
style(core): fix RUF046
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
1 parent 80209e6 commit a7c38ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdmo/core/imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def handle_fetched_file(filedata):
4848

4949

5050
def generate_tempfile_name():
51-
t = int(round(time.time() * 1000))
51+
t = round(time.time() * 1000)
5252
r = randint(10000, 99999)
5353
fn = pj(tempfile.gettempdir(), 'upload_' + str(t) + '_' + str(r) + '.xml')
5454
return fn

0 commit comments

Comments
 (0)